Review of modules for parsing command line options in Node.js.
For generating of table or for trying of samples install packages first:
npm install
or
yarn install
To generating of table in Markdown format:
cd table
node table-npm.js > table-npm.md
node table-github.js > table-github.md
To generating of table in HTML use the command:
cd table
node table.js --html > table.html
Try:
cd samples
node commander.js --help
Try:
cd samples
node mininist.js -abc --help --size=large -- 1 2 3
node mininist-with-settings.js -abc --help --size=large -- 1 2 3
Try:
cd samples
node yargs.js --version
node yargs.js -h
node yargs.js --size=middle
node yargs.js --list 1 2 3 --size=large
The sources of this project distributed by Expat-like license (see file LICENSE). The text of paper in file article.ru.md distributed by CC-BY-ND 4.0 license. The sources of samples in folder samples in public domain.
(c) 2016, 2019, 2024 Evgeny Simonenko [email protected]