deno-cliffy icon indicating copy to clipboard operation
deno-cliffy copied to clipboard

`command.default(name)` doesn't seem to work as expected

Open justinmchase opened this issue 10 months ago • 0 comments

I setup a command with two sub commands and then added

command.default(subCommands[0].name)

Then I am running my app without any arguments and it does not seem to work, it just prints out the usage and exits as it did before. If I add a single argument it executes the correct sub command.

The documentation doesn't seem to have any examples of how to use the command.default(name) function either.

justinmchase avatar Aug 06 '23 16:08 justinmchase