Optional
argumentIf the type is 'string, what should the argument be called in the documentation?
Optional
choicesIf type is string, and choices is specified, the value must be one of these choices.
Optional
defaultThe default option value when it is not set by args.
It must be of the same type as the the type
property.
When multiple
is true
, it must be an array.
Optional
descriptionDescription of the argument, for generating help text.
Optional
multipleWhether this option can be provided multiple times.
If true
, all values will be collected in an array.
If false
, values for the option are last-wins.
Optional
shortA single character alias for the option.
Type of argument.
This is copied in from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e858f398c44ef759a64dd49854fd3470e6b65731/types/node/util.d.ts#L1254
The original types there do not export enough of the intermediate types so that the new properties can be grafted on more easily than this.