[FlyteCTL Feature] Hide global flags when printing help #3352
Labels
enhancement
New feature or request
flytectl
Issues related to flytectl -Flytes CLI
good first issue
Good for newcomers
hacktoberfest
Milestone
Describe the feature/command for FlyteCTL
The output of
flytectl <command> --help
includes all global flags, which ends up pushing the useful info about the command too far up in the screen.Provide a possible output or UX example
Global flags should be hidden and only the available flags for a particular command should show up, including all flags in case we run
flytectl --help
.This is possible to be done if we override cobra's usage template.
https://github.com/unionai/cloud/pull/1818 is an implementation of this idea for Cloud.
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: