Interface: ParserOptions<T>
Defined in: packages/parser/src/types.ts:73
Configuration options for the parser.
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends FlagsDefinition | object |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
delimiters? | string[] | Delimiters to split flag names and values. Default ['=', ':'] | packages/parser/src/types.ts:86 |
flags? | T | Detailed configuration for flags. Supports the full object syntax or a type constructor as a shorthand. The key is the flag name (e.g., "file" for "--file"). | packages/parser/src/types.ts:79 |
ignore? | IgnoreFunction | A callback function to conditionally stop parsing. When it returns true, parsing stops and remaining arguments are preserved in ignored. | packages/parser/src/types.ts:92 |

