acoustic-carpenter-78188
02/16/2023, 10:10 PMflytectl <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.
unionai/cloud#1818 is an implementation of this idea for Cloud.
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte