mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-29 04:36:47 -06:00
Merge #475: CLI: --export writes the file type its extension names
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user