lib/cli.js
function execute(args){
    var options = optionator.parse(args);

    if(options.help){
        console.log(optionator.generateHelp());
    }
    else if(options.version){
        console.log("v" + require("../package.json").version);
    }
    else{
        printResults(loadPerf(options));
    }
}
function execute(args){
    var options = optionator.parse(args);

    if(options.help){
        console.log(optionator.generateHelp());
    }
    else if(options.version){
        console.log("v" + require("../package.json").version);
    }
    else{
        printResults(loadPerf(options));
    }
}
function execute ( args ) { var options = optionator . parse ( args ) ; if ( options . help ) { console . log ( optionator . generateHelp ( ) ) ; } else if ( options . version ) { console . log ( "v" + require ( "../package.json" ) . version ) ; } else { printResults ( loadPerf ( options ) ) ; } }
Executes the grouch based on the options passed in.
@param {string|Array|Object} args - The arguments to process.
@returns {void}
Executes the grouch based on the options passed in .