Optional
Readonly
defaultOptional
Readonly
isOptional parameter validation function
If values is set at the same time, isValid will be called for verification when the values do not match, and if the values match, the value will be considered valid and will not call isValid
Readonly
nameflag long name
The name must match the regular expression /^[a-zA-Z][a-zA-Z0-9-_.]*$/u, as you can see some special symbols are not allowed this is intentional, Because I think using strange special symbols as flags names will give users a very bad experience
Optional
Readonly
shortOptional flag short name
The short name must match the regular expression /^[a-zA-Z0-9]$/u, as you can see symbols are not allowed this is intentional, Because I think using symbols as flags short names will give users a very bad experience
Optional
Readonly
usageOptional flag usage description
Optional
Readonly
valuesAn optional list of valid values for the flag
If isValid is set at the same time, isValid will be called for verification when the values do not match, and if the values match, the value will be considered valid and will not call isValid
Generated using TypeDoc
Default value when no flag is specified