ParseFlagInfo
CLI occurrences of one flag, before its duplicate policy selected a value.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/parse/context.ts - Source link:
src/core/parse/context.ts:14
Signatures
ts
interface ParseFlagInfo {}Members
Properties
present
Whether the command line supplied the flag.
ts
present: boolean;count
Number of times the flag appeared, including aliases and negations.
ts
count: number;occurrences
Flag spellings in command-line order.
ts
occurrences: readonly ParseOccurrence[];