Lines Matching refs:commands
103 this.commands = []; property
190 this.commands.push(cmd);
234 checkExplicitNames(cmd.commands);
237 checkExplicitNames(cmd.commands);
243 this.commands.push(cmd);
290 …this._hasImplicitHelpCommand = this.commands.length && !this._actionHandler && !this._findCommand(…
893 …if (this.commands.length && this.args.length === 0 && !this._actionHandler && !this._defaultComman…
921 } else if (this.commands.length) {
924 } else if (this.commands.length) {
940 return this.commands.find(cmd => cmd._name === name || cmd._aliases.includes(name));
1229 if (this.commands.length !== 0 && this.commands[this.commands.length - 1]._executableHandler) {
1231 command = this.commands[this.commands.length - 1];
1274 (this.commands.length ? ' [command]' : '') +
1304 const commandDetails = this.commands.filter((cmd) => {
1334 const commands = this.prepareCommands();
1335 return commands.reduce((max, command) => {
1386 if (this.commands && this.commands.length) {
1441 if (!this.commands.length && !this._lazyHasImplicitHelpCommand()) return '';
1443 const commands = this.prepareCommands();
1451 commands.map((cmd) => {