Optional
aliasOne or more aliases for the option (optional).
Optional
conflictsOther options that are mutually exclusive with this option (optional).
Optional
defaultThe default value to use. This will be the initial value that the getter prompt will show (optional).
Optional
descriptionThe description of the option (optional, has default based on name
).
Optional
nargsThe number of arguments the option accepts (optional).
Optional
requiredPrompts the user for the option if it's not present and requires the
user enters a valid value. If no prompt
field is provided, a default
will be used based on name
.
Optional
requiresOther options that are required for this option to be used (optional).
Optional
stringWhether the option is a string (optional, inferred from type
). Useful
for array options to specify the type of the array values.
The type of the option.
The configuration interface for an option used to define how an option will be parsed and validated.