Skip to content

FlagDoc

Defined in: packages/core/src/kernel/types.ts:1421

Flag documentation entry — one row in a bin’s OPTIONS list.

name is the short/canonical flag key (e.g. 'a' for -a); long, when present, is the long form without leading -- (e.g. 'all'). type drives both parsing and rendering. default, when present, is the default value as a string — even for booleans it is rendered as 'true' / 'false'.

readonly optional default?: string

Defined in: packages/core/src/kernel/types.ts:1425


readonly description: string

Defined in: packages/core/src/kernel/types.ts:1424


readonly optional long?: string

Defined in: packages/core/src/kernel/types.ts:1426


readonly name: string

Defined in: packages/core/src/kernel/types.ts:1422


readonly type: "string" | "boolean"

Defined in: packages/core/src/kernel/types.ts:1423