PathFlagOptions
Options accepted by flag.path().
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/schema/flag.ts - Source link:
src/core/schema/flag.ts:161
Signatures
ts
interface PathFlagOptions {}Members
Properties
mustExist
Reject the value if nothing exists at the path.
ts
mustExist?: boolean;type
Require the path to be a file or a directory. Implies existence.
ts
type?: "file" | "directory";