Skip to content

Refactor bin/cli.js to avoid process.argv.length check #9

Description

@CodeMaverick-143
  • The cli.js file checks process.argv.length <= 2 to show the help menu. The commander library has built-in features to handle this automatically when no command is provided. This check should be removed in favor of the library's native behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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