Open liotev opened 6 months ago
No, actually I never thought about it. How ould you determine whether a command is a command or a subcommand?
How would you determine whether a command is a command or a subcommand?
I will have a look at the code to see if I can come up with any ideas.
Hi, as far as I can see, if a command has a
:runs
function, then even if it has:subcommands
, they are simply ignored. Is there any way to have:runs
functions both for a command and its sub commands?I mean if we take Git as an example, there is the
git remote
command which shows remotes, but it also has sub commands, for examplegit remote add
,git remote rename
etc.Is it possible to have this pattern with the current version of cli-matic?