figure
Dispatch SVG generation or TikZ conversion for one paper.
Invocation#
lem-cli figure <generate|tikz> <id-or-title> ...Inputs and options#
- The required subcommand is generate or tikz.
- Both commands derive one automatic brief from manuscript context; neither accepts a free-form description.
Output and state#
The group dispatches to figure generate or figure tikz. Each leaf prints a LemFigureToolResult and exits nonzero when the result state is failed.
Refusals#
- No subcommand refuses with “figure needs a subcommand: generate or tikz”.
- An unknown subcommand refuses with “figure: unknown subcommand <name>; use generate or tikz”.
- A leaf without a paper selector refuses with “figure <subcommand> needs a paper id or title”.