Skip to content

Conversation

@hesreallyhim
Copy link

@hesreallyhim hesreallyhim commented Nov 29, 2025

  • I have read CONTRIBUTING.md.
  • [-] I have created a discussion that was approved by a maintainer (for new features). (docs-only)

I found myself looking through the code to find the default values for various Options settings, so I thought it would be helpful to provide the user with a list of these settings in the README. So as to make the smallest visible change to the existing docs, I added a link in the README to a new Markdown table I assembled (with LLM assistance) based off of the info in vhs.go and related files like styles.go.

If you want to "check my work" there is a file in 037d437 which contains a CSV file I built up to compile the information including line references for the different settings.

Thanks, this library is amazing!

(Partially?) Fixes: #638
(Partially?) Fixes: #495 (duplicate)

@hesreallyhim hesreallyhim requested a review from a team as a code owner November 29, 2025 20:40
@hesreallyhim hesreallyhim requested review from aymanbagabas and kujtimiihoxha and removed request for a team November 29, 2025 20:40
@joshka
Copy link
Contributor

joshka commented Nov 29, 2025

I think that ideally, the setting, description and default should be in the same table where possible.

@hesreallyhim
Copy link
Author

I think that ideally, the setting, description and default should be in the same table where possible.

I just did it this way for minimal disturbance to the main README.

@joshka
Copy link
Contributor

joshka commented Nov 29, 2025

I just did it this way for minimal disturbance to the main README.

The problem I had with this to start is that you have to look in two places for the information. This simplifies the two places, but it remains at two. The 'what is the default' question is now answered by:

  1. look at readme
  2. search 'default' in readme
  3. click and read other doc, flipping back to readme for docs.

@hesreallyhim
Copy link
Author

hesreallyhim commented Nov 29, 2025

@joshka maybe I could put the defaults table inside a disclosure element. I'm open to whatever, and totally respect your opinion but also want to hear from a codeowner 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document the defaults for each setting / command Show the defaults for each setting in the docs and the docs tape file

2 participants