thing

1.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i thing

      Weekly Downloads

      2

      Version

      1.0.1

      License

      MIT

      Last publish

      Collaborators

      • scottcorgan