Represents a command option.
Properties
DefaultValue
: DefaultValueAttributeGets the default value of the parameter, if specified.
Description
: stringGets the description of the parameter.
IsFlag
: boolGets a value indicating whether the parameter is a flag.
IsHidden
: boolGets a value indicating whether the parameter is hidden.
IsRequired
: boolGets a value indicating whether the parameter is required.
LongNames
: IReadOnlyList<string>Gets the long names of the option.
ShortNames
: IReadOnlyList<string>Gets the short names of the option.
ValueIsOptional
: boolGets a value indicating whether the option value is optional.
ValueName
: stringGets the value name of the option, if applicable.