Merge #475: CLI: --export writes the file type its extension names

This commit is contained in:
aiongg
2026-10-11 12:23:53 +00:00
3 changed files with 177 additions and 37 deletions
+4
View File
@@ -45,6 +45,10 @@ same references, and MCP's `batch` tool takes `commands` or `script` text with t
`--all-pages` that follow them, so one run can write several sizes
(`run --sample --scale 0.5 --export small.png --scale 2 --export large.png`); one with no export after it is an error.
`--export` writes the file type its extension names: `.png` or `.jpg` (a page), `.pdf`, `.designcraft`, `.idml`,
`.epub`, `.html`, and `.rtf` or `.txt` (the story being edited or of the selected frame). A name with no extension
is a PNG of the page; another extension is an error, and nothing runs.
## Data merge
`data.source.select {path, sheet?}` links a CSV/TSV/`.xlsx` file to the document (`data.source.update` re-reads it,