Skip to content

Calling a group of commands produces error #542

@WesCossick

Description

@WesCossick

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions