Allow for a root command to be used on its own even if it has subcommands attached to it. #3804
Unanswered
DavidPHH
asked this question in
API Feature Requests & Ideas
Replies: 1 comment 1 reply
-
I would also like to see this capability. As a minimum, allow setting one of the subcommands (without any required arguments) as a 'default' to run in the event that no subcommand is provided. This is important to me to provide an interface much like a CLI command works, where the main command does something default (even if it's just to provide help) and then options or subcommands (or both) can be added to the end of the command to modify its behavior. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm transitioning toward slash commands and hit a wall with some features:
I have a
jail
command that mutes someone based on X reasons, I also have some dozen subcommands attached to it.For instance I can do
jail @someone
to mute them, orjail info @someone
to view information. This doesn't seem to be possible at the moment with slash commands.Beta Was this translation helpful? Give feedback.
All reactions