Optional
Readonly
deprecated?: stringThe option deprecation notice. It may contain inline styles.
Optional
Readonly
desc?: stringThe option synopsis. It may contain inline styles.
Optional
Readonly
group?: stringThe option group in the help message.
Optional
Readonly
hide?: trueTrue if the option should be hidden from the help message.
Optional
Readonly
link?: URLA reference to an external resource.
Optional
Readonly
names?: ReadonlyArray<string | null>The option names, as they appear on the command-line (e.g. -h
or --help
).
Names cannot contain whitespace or the equals sign =
(since it may act as option-parameter
separator). Empty names or null
s can be specified in order to skip the respective "slot" in
the help message names column.
Optional
preferredA name to be displayed in error and help messages in cases where one is not available (e.g., when evaluating option requirements or processing positional arguments). It is not validated and can be anything.
If not specified, the first name in the WithBasic.names array will be used.
Optional
Readonly
styles?: OptionStylesThe option display styles.
Defines attributes common to all options.