| What it is | Interactive command-line prompts for Node.js | The complete solution for Node.js command-line interfaces | Parse command-line arguments and build CLIs in Node.js | Salesforce's open CLI framework for building Node.js command-line tools |
| Features | - input, select, checkbox, confirm, search, password, expand, raw list and number prompts
- editor prompt that opens the user's $VISUAL or $EDITOR
- API for building custom prompts (@inquirer/core)
- testing utilities for prompts
- localized prompts with @inquirer/i18n (English, French, Spanish, Chinese, Portuguese)
- custom input and output streams
| - 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
| - 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
|