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

Readme

Keywords

Package Sidebar

Install

npm i thing

Weekly Downloads

5

Version

1.0.1

License

MIT

Last publish

Collaborators

  • scottcorgan