index.js
function createCmdArguments(cmdArguments, opts) {
    if (toString.call(cmdArguments) !== '[object Array]') {
        cmdArguments = [];
    }
    if (toString.call(cmdArguments[0]) !== '[object Array]') {
        cmdArguments[0] = [];
    }
    cmdArguments[1] = cmdArguments[1] || {};
    cmdArguments[2] = opts;

    return cmdArguments;
}
function createCmdArguments(cmdArguments, opts) {
    if (toString.call(cmdArguments) !== '[object Array]') {
        cmdArguments = [];
    }
    if (toString.call(cmdArguments[0]) !== '[object Array]') {
        cmdArguments[0] = [];
    }
    cmdArguments[1] = cmdArguments[1] || {};
    cmdArguments[2] = opts;

    return cmdArguments;
}
function createCmdArguments ( cmdArguments , opts ) { if ( toString . call ( cmdArguments ) !== '[object Array]' ) { cmdArguments = [ ] ; } if ( toString . call ( cmdArguments [ 0 ] ) !== '[object Array]' ) { cmdArguments [ 0 ] = [ ] ; } cmdArguments [ 1 ] = cmdArguments [ 1 ] || { } ; cmdArguments [ 2 ] = opts ; return cmdArguments ; }
Create command arguments

@param {any} cmdArguments
@param {object} opts options object
Create command arguments