figure generate
Generate an SVG intermediate from an automatic manuscript brief.
Invocation#
lem-cli figure generate <id-or-title> [--output-name <name>]Inputs and options#
- id-or-title selects the paper.
- --output-name <name> controls the output stem; the CLI adds -preview for the SVG intermediate.
Output and state#
Proposes one validated brief, generates the SVG into the paper's figures directory, and prints the result as JSON. A successful result has state generated and asset_path.
Refusals#
- An option outside --label, --caption, --output-name, and --source-image is refused as an unexpected argument; a recognized option without a value is refused.
- The public generate surface documents only --output-name; the shared parser currently accepts the other recognized figure options but generate does not use them.
- No valid automatic brief, no local source directory, or SVG generation failure produces a refusal or failed result; failed results exit nonzero.