Import one or more solution files into an existing exercise sheet
Positionals:
exerciseSheetId Exercise sheet ID to reconcile imported solutions into [string]
sources Local file paths, directories, or HTTP(S) URLs [array] [default: []]
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]
--manifest Load sources from a manifest file, or "-" for stdin [string]
--relative-path Override the relative path for a single positional source [string]
--timeout-ms Maximum time to wait before timing out [number] [default: 300000]
--wait Wait for the queued job to finish [boolean] [default: false]
Examples:
chalksurf sheet import-solutions 00000000-0000-4000-8000-000000000001 ./fixtures/solutions.pdf --wait Attach a separate solution file to an existing exercise sheet
cat sheet-solution-import.json | chalksurf --profile prod-codex sheet import-solutions --manifest - --wait --json Drive sheet solution imports from a manifest in an agent or CI flow
When --wait is set, the command exits after the queued import job reaches a terminal state.