Assuming the following group of commands exists...
example-cli order pizza
example-cli order sandwich
example-cli order burger
...if you call just example-cli order, an error is emitted:
Error: Cannot find module '.../order.js'
Require stack:
- ...
- ...
Instead, the output of calling example-cli order --help would make more sense. This is similar to what happens currently if you call the executable without any input.
Assuming the following group of commands exists...
example-cli order pizzaexample-cli order sandwichexample-cli order burger...if you call just
example-cli order, an error is emitted:Instead, the output of calling
example-cli order --helpwould make more sense. This is similar to what happens currently if you call the executable without any input.