PathChecks
Filesystem expectations attached by flag.path().
Checked after resolution (not during parse) via the runtime adapter, so src/core stays free of platform I/O and all sources (CLI, env, config) are validated identically.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/schema/flag.ts - Source link:
src/core/schema/flag.ts:181
Signatures
ts
interface PathChecks {}Members
Properties
mustExist
Reject the value if nothing exists at the path.
ts
mustExist: boolean;type
Require the existing path to be a file or a directory. Implies existence when set.
ts
type: "file" | "directory" | undefined;