Skip to content
CLI reference for ChalkSurf CLI v0.5.0. Your installed chalksurf --help output remains authoritative for that binary.

chalksurf exercise figure update

chalksurf exercise figure update [exerciseId] [exerciseFigureId]
Change width, quarter-turn rotation or text/solution placement
Positionals:
exerciseId Exercise UUID [string]
exerciseFigureId Active figure UUID from exercise get [string]
Options:
--json Write machine-readable JSON to stdout [boolean] [default: false]
--result-file Publish the complete JSON result envelope to a new private file [string]
--base-url Base URL of the ChalkSurf API [string]
--organization Organization ID to use for this command [string]
--profile CLI profile to use for this command [string]
-v, --version Show the CLI version [boolean]
--help Show help [boolean]
--dry-run Preview eligibility and effects without submitting work [boolean]
--request-id Explicit request identity for an intentional exact resend [string]
--request-file Exclusive private attempt artifact destination [string]
--spec Editable library specification file or - for stdin [string]
--spec-out Save a local editable specification; use --dry-run to also prepare it [string]
--plan-out Save a guarded library plan; requires --dry-run [string]
--keyless Submit without a recovery key; cannot combine with --request-id [boolean]
--expected-updated-at Exact updated_at from exercise get; required unless in JSON input [string]
--target-sheet-id Sheet whose use was reviewed [string]
--allow-shared-exercise-update Acknowledge effects on other sheets using this exercise [boolean]
--input Canonical operation JSON from a file or - for stdin; do not combine with edit flags [string]
--input-json Inline canonical operation JSON; do not combine with edit flags [string]
--width-cm Display width, 1–20 cm [number]
--rotation Clockwise quarter-turn rotation [number] [choices: 0, 90, 180, 270]
--figure-type Text or solution group [string] [choices: "text", "solution"]