Folders
Each concern in config/settings.yaml — data, spec, and assets — carries its own directory. All are run choices: a different team could point them anywhere and still be correct.
| File | config/settings.yaml |
| Path | data.directory, spec.directory, assets.directory |
| Type | string (each) |
| Default | ./data, ./specs, ./assets |
Options
| Path | Description |
|---|---|
data.directory | Where fetch writes downloaded payloads, and where generate loads them from. Override per run with --data-dir on fetch, scan, and generate |
spec.directory | Where generate commands write their output files. Override per run with -o on individual commands |
assets.directory | Shared resources every code output points at, whatever the platform — icons, images, generated CSS, fonts |
The generate command’s --format flag still controls output format (YAML vs JSON); these control directories only.
Example
data: directory: ./dataspec: directory: ./specsassets: directory: ./assetsLegacy names
In the pre-split specs.config.yaml, these were the root-level dataDirectory and outputDirectory members (and, before that, sourceDirectory as a deprecated alias for dataDirectory). That file is no longer read — specs migrate config converts it, moving both to data.directory and spec.directory.