Skip to content

Leverage the argument parser API to show up help information if no arguments were passed in #44

@jamesgeorge007

Description

@jamesgeorge007

Feature Request

It is a good practice to show up help information if none of the arguments were supplied.

Why it is needed

Infact yargs provides a method for the respective purpose, demandCommand().

Possible implementation

https://yargs.js.org/docs/#demandCommand

Code sample

https://yargs.js.org/docs/#demandCommand

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions