lib/command.js
function CommandLine(commands) {
  this.keys = Object.keys(commands);
  this.commands = commands;
  this.args = process.argv.slice(2);
  this.context = this.args[0] || null;
  this.help = {
    before: '',
    after: ''
  }
}
function CommandLine(commands) {
  this.keys = Object.keys(commands);
  this.commands = commands;
  this.args = process.argv.slice(2);
  this.context = this.args[0] || null;
  this.help = {
    before: '',
    after: ''
  }
}
function CommandLine ( commands ) { this . keys = Object . keys ( commands ) ; this . commands = commands ; this . args = process . argv . slice ( 2 ) ; this . context = this . args [ 0 ] || null ; this . help = { before : '' , after : '' } }
Command Line class

@private
@constructor
@class CommandLine
@param {object} commands Commands object to pass
Command Line class