src/CommandParser.js
function CommandParser(output, argv) {

    this._output = output;

    if (!(argv instanceof Array)) {
        throw new TypeError("CommandParser(argv) must be of type Array.");
    }

    this._argv = argv;
}
function CommandParser(output, argv) {

    this._output = output;

    if (!(argv instanceof Array)) {
        throw new TypeError("CommandParser(argv) must be of type Array.");
    }

    this._argv = argv;
}
function CommandParser ( output , argv ) { this . _output = output ; if ( ! ( argv instanceof Array ) ) { throw new TypeError ( "CommandParser(argv) must be of type Array." ) ; } this . _argv = argv ; }
Parsing and validation of command-line arguments.
@constructor
@param {OutputIface} output Output implementation
@param {String[]} argv Command-line arguments
@throws {TypeError} If argv is not an array.
Parsing and validation of command - line arguments .