npm.io
1.0.1 • Published 11 years ago

thing

Licence
MIT
Version
1.0.1
Deps
0
Vulns
0
Weekly
0

Thing

Command line all the things

Install

npm install thing --save

Usage

var thing = require('thing');

var cli = thing();

cli.command('someCommand')
  .handler(function () {
    // do stuff
  });

cli.flag('-t')
  .handler(function () {
  		// execute on a flag
  });

Run Tests

npm install
npm test

Keywords