Write gen DIR's manifest to DIR/index.mf (closes #178) #180

Merged
clawbot merged 1 commits from issue-178-gen-output into next 2026-10-08 03:08:41 +02:00
1 Commits
Author SHA1 Message Date
sneak 160db7710b Write gen DIR's manifest to DIR/index.mf (closes #178)
check / check (push) Waiting to run
Without --output, gen given one directory now writes index.mf in it,
and given one file writes index.mf beside it; with no path or several,
it still writes index.mf in the current directory. An --output given
with an empty value is refused. What gen lists depends only on its
arguments and the tree, never on where the manifest is written, so gen
DIR followed by check DIR passes.

Scanner.EnumeratePaths lists a file argument by its name, as
EnumerateFile does. Before, it listed the file under an empty path and
gen stopped with "path cannot be empty".

The --output help text and the README's Tool Examples state the default.

Model: opus-5-5
2026-10-08 00:14:25 +00:00