Boilerplate to kickstart creating a Node.js command-line tool
Fork of sindresorhus/node-cli-boilerplate.
It's similar but defaults to development in TypeScript. I can't commit to active updates / maintenance. Feel free to use this, but encourage you to fork the original if you want to pull in the latest updates.
Also check out node-module-boilerplate.
Click the "Use this template" button.
Alternatively, create a new directory and then run:
curl -fsSL https://github.com/jamestalmage/node-cli-boilerplate/archive/jamestalmage-edits.tar.gz | tar -xz --strip-components=1Remove everything from here and above
My awesome command-line tool
npm install --global unicorn-fun-cli$ unicorn-fun --help
Usage
$ unicorn-fun [input]
Options
--postfix Lorem ipsum [Default: rainbows]
Examples
$ cli-name
unicorns & rainbows
$ cli-name ponies
ponies & rainbows