interface ParseArgsOptionConfig
Properties Jump to heading
Jump to headingtype: "string" | "boolean"Type of argument.
optional
Jump to headingmultiple: boolean | undefinedWhether this option can be provided multiple times.
If true, all values will be collected in an array.
If false, values for the option are last-wins.
optional
Jump to headingshort: string | undefinedA single character alias for the option.
optional
Jump to headingdefault: string
| boolean
| string[]
| boolean[]
| undefinedThe default option value when it is not set by args.
It must be of the same type as the the type property.
When multiple is true, it must be an array.