-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
See chore(roxctl): hide non-required global flags where applicable #5476, where the central connection flags are persisted at the root level, and then hidden in the commands where they are not needed.
This causes two problems:
- the root command help shows central connection flags, while not expected
- the declarative config commands hide the `--name` flag by mistake
Anyway, the current implementation is cumbersome.
It turns out that with the current version of cobra, we may refactor the flags inheritance and allow the sub-command flags appear in front of the commands.