@caporal/core

Framework for building interactive command line applications with Node.js.

npmmacoslinuxwindows
Try with needOr install directly
Source

About

A full-featured framework for building command line applications (cli) with node.js

Examples

create a new CLI app with commands and options$ npx @caporal/core create myapp
build a CLI tool with subcommands and arguments$ node cli.js command subcommand --option value
add help text and usage information to CLI commands$ node cli.js --help
parse command line arguments and validate user input$ node cli.js action --flag=true --count=5
handle errors and show helpful error messages in CLI$ node cli.js invalid-command 2>&1