| What it is | Salesforce's open CLI framework for building Node.js command-line tools | The complete solution for Node.js command-line interfaces | Parse command-line arguments and build CLIs in Node.js | Small helper for building Node.js command-line apps |
| Features | - flag and argument parsing
- loads only the command being run, so large CLIs start fast
- auto-generated --help and README docs
- plugins, lifecycle hooks and autocomplete
- a generator that scaffolds TypeScript CLIs with tests
- packages CLIs into macOS, Windows and Debian installers
| - option types: boolean, value, negatable, variadic and required
- commands with arguments and action handlers
- stand-alone executable subcommands
- automated, customisable help
- version option
- life-cycle hooks
| - Commands with grouped options
- Help menu generated from your commands and options
- Bash and Zsh completion scripts
- TypeScript typings and browser support
| - argument and flag parsing
- camelCase flags and --no- negation
- automatic --version and --help
- no dependencies
|