Command line all the things
npm install thing --save
var thing = require('thing'); var cli = thing(); cli.command('someCommand') .handler(function () { // do stuff }); cli.flag('-t') .handler(function () { // execute on a flag });
npm install npm test