FlagConfig
Compile-time state carried through the builder chain.
Adding new tracked properties only requires extending this interface — no builder signature changes.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/schema/flag.ts - Source link:
packages/dreamcli/src/core/schema/flag.ts:44
Signatures
ts
interface FlagConfig {}Members
Properties
optionalFallback
What an unresolved optional flag becomes at the action boundary.
ts
optionalFallback: OptionalFallback;presence
Whether the flag is optional, required, or has a default.
ts
presence: "optional" | "required" | "defaulted";valueType
The resolved value type (e.g. string, number, 'us' | 'eu').
ts
valueType: unknown;