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

Print default values and values list in initial help docs #67

Open
Hobart2967 opened this issue Jan 22, 2020 · 1 comment
Open

Print default values and values list in initial help docs #67

Hobart2967 opened this issue Jan 22, 2020 · 1 comment

Comments

@Hobart2967
Copy link

Is your feature request related to a problem? Please describe.
When running a help command on a values arg or option, no information about possible values is shown. The user has first to fail the command to see the values. I'd like to see them right when asking tusk for help, not when trying to execute and fail.

Also it'll be nice if I could define a usage info for values.

This also concerns the default value, that is never stated.

Describe the solution you'd like

Options:
   -e, --environment <value>  Environment to build the artifact agains. (Default: local) 
                              Valid values: [ stub (USAGE_INFO), local (USAGE_INFO), prod (USAGE_INFO) ]

Additional context

@madhat1
Copy link

madhat1 commented Mar 24, 2022

This will be very useful indeed!

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

No branches or pull requests

2 participants