This is a slidedeck built with reveal-md. You can view it as markdown or through reveal-md.
npm install -g reveal-mdreveal-md Building-A-Node-CLI.md --theme moon# change directory to the subdirectory wehre we built our example tool
cd thingifier
# install dependencies
npm install
# "globally" install the thingifier CLI
npm linkthingifier --sean cool --ethan smart --aaron 2export THINGIFIER_FOO=foo; export THINGIFIER_BAR__BAZ=1;# This assumes you have already run `export THINGIFIER_BAR__BAZ=1`
thingifier --sean cool --ethan smart --aaron 2 --bar.baz=2npm testThis will run the tape CLI at ./node_modules/.bin/tape.
npm run exampleTake a look at all of the environment variables npm adds for you.