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 default field into CommandLineOption #63

Closed
icreator opened this issue Nov 18, 2022 · 1 comment
Closed

add default field into CommandLineOption #63

icreator opened this issue Nov 18, 2022 · 1 comment

Comments

@icreator
Copy link

icreator commented Nov 18, 2022

Please add default field into CommandLineOption:

`
val cmdName = CommandLineOption(Key("name", stringType), "name", "name", "DefaultName", "Description of NAME")

`

And if use -h command it will print:

Description of NAME. Default value: DefaultName

And if not setted in configuration - use Deafult Value

@icreator
Copy link
Author

see #64

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

No branches or pull requests

1 participant