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

[UX] - Help message should include choices for enum inputs #60

Closed
omesser opened this issue Mar 12, 2022 · 0 comments · Fixed by #76
Closed

[UX] - Help message should include choices for enum inputs #60

omesser opened this issue Mar 12, 2022 · 0 comments · Fixed by #76
Labels
bug Something isn't working

Comments

@omesser
Copy link
Contributor

omesser commented Mar 12, 2022

For enumerated inputs, show valid options/choices in command help (e.g. for -f/--format)
Today

> gto show --help
...
  -f, --format TEXT  Output format
...

Suggestion:

> gto show --help
...
  -f, --format [TABLE|JSON|YAML]  Output format [default=TABLE]
...
@omesser omesser added the bug Something isn't working label Mar 12, 2022
@aguschin aguschin added this to the First GTO release milestone Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants