src/parser.js
function(opts, argv, error)
    {
        var parser = new Parser(opts, argv, error);
        return parser.parse();
    }
function(opts, argv, error)
    {
        var parser = new Parser(opts, argv, error);
        return parser.parse();
    }
function ( opts , argv , error ) { var parser = new Parser ( opts , argv , error ) ; return parser . parse ( ) ; }
Parses command-line arguments
@param {object} opts
@param {Array} argv argument array
@param {Function} error callback handler for missing options etc (default: throw exception)
@returns {{opt: {}, args: Array}}
Parses command - line arguments