* Allow excess command-arguments on the command line. Pass false to make excess arguments an error. * * @param {boolean} [allowExcess] - if `true` or omitted, no error will be thrown for excess arguments. * @return {Command} `this` command for chaining
(allowExcess = true)
| 837 | * @return {Command} `this` command for chaining |
| 838 | */ |
| 839 | allowExcessArguments(allowExcess = true) { |
| 840 | this._allowExcessArguments = !!allowExcess; |
| 841 | return this; |
| 842 | } |
| 843 | |
| 844 | /** |
| 845 | * Enable positional options. Positional means global options are specified before subcommands which lets |
no outgoing calls