Skip to content

Add key and initialValue to option definition - #170

Open
akuntsch wants to merge 1 commit into
arcanis:masterfrom
akuntsch:option-def-key-initialvalue
Open

Add key and initialValue to option definition#170
akuntsch wants to merge 1 commit into
arcanis:masterfrom
akuntsch:option-def-key-initialvalue

Conversation

@akuntsch

@akuntsch akuntsch commented Oct 16, 2024

Copy link
Copy Markdown

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