Skip to content

Commit 6493ca0

Browse files
donislawdevclaude
andcommitted
docs: a relative output.dir is read from where you run, not from the recipe
Measured on 2026-09-02: a recipe kept in recipes/ with dir: out, run from somewhere else, writes into out beside the caller rather than beside the recipe. The behaviour has been the same since the beginning and was written down nowhere, so the first person keeping recipes in their own directory had to find it by looking for the files. The key table now says it, with the way to pin it down. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 92f2ff3 commit 6493ca0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,12 @@ tfg generate fixtures.yaml
377377
| `seed` | the number that makes a run repeatable. Same seed, same bytes |
378378
| `defaults.label` | write the self describing label inside each file. Default `true` |
379379
| `targets` | the list of things to produce. See below |
380-
| `output.dir` | where the files and the manifest go |
380+
| `output.dir` | where the files and the manifest go. A relative path is read from the directory you run in, not from the one the recipe sits in |
381381
| `output.manifest` | manifest file name. Default `manifest.json` |
382382

383+
So a recipe kept in `recipes/` with `dir: out` writes into `out` next to you, not
384+
next to the recipe. Give an absolute path, or `--out`, when you want it fixed.
385+
383386
### Target keys
384387

385388
| key | meaning |

0 commit comments

Comments
 (0)