Lines Matching refs:_name
110 this._name = name || '';
175 if (opts.isDefault) this._defaultCommandName = cmd._name;
225 if (!cmd._name) throw new Error('Command passed to .addCommand() must have a name');
240 if (opts.isDefault) this._defaultCommandName = cmd._name;
714 …this._name = this._name || (this._scriptPath && path.basename(this._scriptPath, path.extname(this.…
774 let bin = path.basename(scriptPath, path.extname(scriptPath)) + '-' + subcommand._name;
835 …- if '${subcommand._name}' is not meant to be an executable command, remove description parameter …
940 return this.commands.find(cmd => cmd._name === name || cmd._aliases.includes(name));
1234 if (alias === command._name) throw new Error('Command alias can\'t be the same as its name');
1291 if (str === undefined) return this._name;
1292 this._name = str;
1312 cmd._name +
1488 let cmdName = this._name;