Replies: 1 comment
-
This is actually fairly standard in CLIs:
Doing this would be "innovating" within the space and I personally don't see enough value from it compared to the overwhelming of the user that would happen. That said, there is an exception to this standard when subcommands are more of operations within a command rather than a command on their own. |
Beta Was this translation helpful? Give feedback.
-
I'm currently implementing a cli with subcommands:
by default, it lists out the subcommands, but omits the mandatory arguments of them.
to see the help for each subcommand, a user has to type:
this is not ideal, because the help for the maincommand gives the wrong impression that the subcommands don't have arguments. a new user might simply type the following, and omit an important argument.
what I hope to show is this
is this possible?
Beta Was this translation helpful? Give feedback.
All reactions