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

chalksurf sheet visibility set

chalksurf sheet visibility set [exerciseSheetId]
Set sheet visibility after checking the current updated_at value
Positionals:
exerciseSheetId Exercise sheet ID to update [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 Expected current sheet updated_at ISO timestamp [string]
--public Make the sheet public [boolean]
--private Make the sheet private [boolean]
--confirm-make-public-resource-id Required when using --public; must exactly match the sheet ID [string]
Examples:
chalksurf sheet visibility set 00000000-0000-4000-8000-000000000001 --public --expected-updated-at 2026-01-01T00:00:00.000Z --confirm-make-public-resource-id 00000000-0000-4000-8000-000000000001 --json Make a sheet public with confirmation