Lines Matching refs:unknown
858 _dispatchSubcommand(commandName, operands, unknown) { argument
863 this._executeSubCommand(subCommand, operands.concat(unknown));
865 subCommand._parseCommand(operands, unknown);
875 _parseCommand(operands, unknown) { argument
876 const parsed = this.parseOptions(unknown);
878 unknown = parsed.unknown;
879 this.args = operands.concat(unknown);
882 this._dispatchSubcommand(operands[0], operands.slice(1), unknown);
890 …outputHelpIfRequested(this, unknown); // Run the help for default command from parent rather than …
891 this._dispatchSubcommand(this._defaultCommandName, operands, unknown);
898 outputHelpIfRequested(this, parsed.unknown);
900 if (parsed.unknown.length > 0) {
901 this.unknownOption(parsed.unknown[0]);
915 this.emit('command:' + this.name(), operands, unknown);
918 this._dispatchSubcommand('*', operands, unknown);
920 this.emit('command:*', operands, unknown);
992 const unknown = []; // first unknown option and remaining unknown args
1006 if (dest === unknown) dest.push(arg);
1061 dest = unknown;
1068 return { operands, unknown };