We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm wondering whether a command could be able to call its subcommand by default. The commands hierarchy can be described as the following:
rootCmd (A) -> Cmd (B) -> Subcommand 1 (C) Subcommand 2 (D)
If I don't specify the actual subcommand, say type A B -args, is it possible to validate and invoke A B C -args?
A B -args
A B C -args
The text was updated successfully, but these errors were encountered:
See #725. I think this might be a dup of #823.
Sorry, something went wrong.
No branches or pull requests
I'm wondering whether a command could be able to call its subcommand by default. The commands hierarchy can be described as the following:
rootCmd (A) ->
Cmd (B) ->
Subcommand 1 (C)
Subcommand 2 (D)
If I don't specify the actual subcommand, say type
A B -args
, is it possible to validate and invokeA B C -args
?The text was updated successfully, but these errors were encountered: