-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
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
[Question] How to create a command and subcommands #1830
Comments
Yes. that is a supported setup. The main command can have an action handler, and that will get called instead of showing the help when a subcommand is not specified. |
Thank you very much, leaving a default command worked for me! |
An answer was provided, and no further activity in a month. Closing this as resolved. Feel free to open a new issue if it comes up again, with new information and renewed interest. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I would like to know if with commander it is possible to create a command that is executed with a main command that does not show the help and at the same time can have subcommands, I mean something like this:
The text was updated successfully, but these errors were encountered: