Skip to main content

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 from startDir, bounded by the nearest git repository root, to find specd.yaml. Honouring any specd.local.yaml sibling found at the same directory level.
  • Forced mode ({ configPath }) — uses the specified file exactly as given. No specd.local.yaml lookup takes place. Maps to the CLI --config path/to/specd.yaml flag.