Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add key and initialValue to option definition #170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akuntsch
Copy link

@akuntsch akuntsch commented Oct 16, 2024

The key allows mapping an option definition to a class variable. The initialValue is used to show the default value in a command's usage output.

We want to generate command documentation from code. Both properties come in handy in this case.

I'm open to any suggestions/improvements.

@akuntsch akuntsch force-pushed the option-def-key-initialvalue branch from 7b0c3ce to cf14737 Compare October 16, 2024 10:47
The `key` allows mapping an option definition to a class variable.
The `initialValue` is used to show the default value in a command's usage output.
@akuntsch akuntsch force-pushed the option-def-key-initialvalue branch from cf14737 to 0917ccf Compare October 16, 2024 11:01
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.

1 participant