LoadConfigFileOptions
Defined in: cli/datapad/src/load-config-file/load-config-file.type.ts:2
Options for finding and loading a config file from disk.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”cwd:
string
Defined in: cli/datapad/src/load-config-file/load-config-file.type.ts:4
Directory to start looking in.
extensions?
Section titled “extensions?”
optionalextensions?: readonlystring[]
Defined in: cli/datapad/src/load-config-file/load-config-file.type.ts:8
Override the extension probe order.
name:
string
Defined in: cli/datapad/src/load-config-file/load-config-file.type.ts:6
Base name — "holocron" resolves holocron.config.{ts,js,mjs,cjs,json}.
walkUp?
Section titled “walkUp?”
optionalwalkUp?:boolean
Defined in: cli/datapad/src/load-config-file/load-config-file.type.ts:16
Walk upward through ancestor directories when cwd itself has no
match, stopping at the first directory containing a .git entry (that
directory is still searched before stopping) or the filesystem root.
Off by default — exact-cwd-only, unchanged behavior for any existing
caller that doesn’t pass this.