Type Alias: BaseFlagOptions<T>
ts
type BaseFlagOptions<T> = FlagRequiredOrDefault & object;Defined in: packages/parser/src/types.ts:58
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
|
| Short flag alias (single character). | |
|
| The type constructor or a function to convert the string value. To support multiple occurrences of a flag (e.g., --file a --file b), wrap the type in an array: [String], [Number]. e.g., String, Number, [String], (val) => val.split(',') |
Type Parameters
| Type Parameter | Default type |
|---|---|
|

