You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need the possibility to let the root command execute a subcommand. In our use case the root command does nothing. So it would be nice that if no subcommand is specified, a default subcommand is used.
Example:
We have a root command called rootCommand with the sub commands foo and bar. foo should be the default.
We want to call:
> rootCommand "Hello World"
instead of:
> rootCommand foo "Hello World"
The text was updated successfully, but these errors were encountered:
We need the possibility to let the root command execute a subcommand. In our use case the root command does nothing. So it would be nice that if no subcommand is specified, a default subcommand is used.
Example:
We have a root command called
rootCommand
with the sub commandsfoo
andbar
.foo
should be the default.We want to call:
instead of:
The text was updated successfully, but these errors were encountered: