c4spar / deno-cliffy

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...

Home Page:https://cliffy.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

justinmchase opened this issue · 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.