FlagParseFn
Custom parse function for flag.custom().
Receives string from CLI argv and env vars, or any JSON-representable value from config files. Narrow inside the function as needed.
- Import:
@kjanat/dreamcli - Export kind: type
- Declared in:
src/core/schema/flag.ts - Source link:
packages/dreamcli/src/core/schema/flag.ts:104
Signatures
ts
type FlagParseFn<T> = { (raw: unknown): T; };