Interface: ParsedResult<TFlags>
Defined in: packages/parser/src/types.ts:104
The parsed result.
Type Parameters
| Type Parameter | Description |
|---|---|
TFlags extends Record<string, any> | The specific flags type inferred from ParserOptions. |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
doubleDash | string[] | Arguments after the -- delimiter. | packages/parser/src/types.ts:108 |
flags | TFlags | The parsed flags. This is a strongly-typed object whose structure is inferred from the flags configuration in ParserOptions. | packages/parser/src/types.ts:113 |
ignored | string[] | Arguments that were not parsed due to ignore callback. | packages/parser/src/types.ts:119 |
parameters | string[] | Positional arguments or commands. | packages/parser/src/types.ts:106 |
raw | string[] | The raw command-line arguments. | packages/parser/src/types.ts:115 |
unknown | Record<string, RawInputType> | Unknown flags encountered during parsing. | packages/parser/src/types.ts:117 |

