TerminalOptionSpec
Declarative option or flag specification.
An active option owns its value's path kind, dynamic domain, and hidden-entry policy, including NONE and default values. Positional metadata is not used as a fallback for option values.
Throws
if names are empty, or names, values, or exclusive-group identifiers contain blank entries.
Constructors
Properties
short human-readable description.
identifiers of mutually exclusive option groups. Options that share any identifier cannot be suggested together once one has already been entered before the completion cursor.
whether this option consumes the following token as a value.
bounded, unescaped literal option values, such as log levels or output modes. Completion applies the request's shell quoting policy on insertion. Dynamic host-owned domains belong in host providers instead.
dynamic host-owned value domain accepted by the option's separate value token when requiresValue is true.
hidden-entry policy used when valuePathKind accepts a path.
file-system path kind accepted by the option's separate value token when requiresValue is true.