Create a command context in a cli.js app
npm install @cli/command --save
var alias = require('@cli/alias')
var handler = requrie('@cli/handler')
var command = require('@cli/command')
var app = require('@cli/app')
var run = require('@cli/run')
var testCommand = command(
alias('test'),
handler(function () {/* do something here */})
)
var cli = app(
testCommand()
)
run(process.argv.slice(2), cli())