Optionalaction?: ActionA custom action for the argument.
Optionalalias?: stringAn optional alias for the argument.
Optionalchoices?: unknown[]Allowed values for the argument.
Optionalconst?: unknownA constant value for the argument.
Optionaldefault?: unknownThe default value of the argument.
Optionaldescription?: stringA description of the argument.
The name of the argument.
Optionalnargs?: NArgsWhether the argument is required.
Optionalrequired?: booleanWhether the argument is required.
The type of the argument.
Optionalvalidator?: (value: unknown) => booleanA custom validator function for the argument value.
Configuration for an argument.