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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    10
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    10

Package Sidebar

Install

npm i thing

Weekly Downloads

10

Version

1.0.1

License

MIT

Last publish

Collaborators

  • scottcorgan