Type Alias: FsConfigLoaderOptions
FsConfigLoaderOptions = {
startDir:string; } | {configPath:string; }
Defined in: packages/core/src/infrastructure/fs/config-loader.ts:32
Options for constructing a FsConfigLoader.
Two modes:
- Discovery mode (
{ startDir }) — walks up fromstartDir, bounded by the nearest git repository root, to findspecd.yaml. Honouring anyspecd.local.yamlsibling found at the same directory level. - Forced mode (
{ configPath }) — uses the specified file exactly as given. Nospecd.local.yamllookup takes place. Maps to the CLI--config path/to/specd.yamlflag.