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

chalksurf sheet set-visibility

chalksurf sheet set-visibility [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]
--expected-updated-at Expected current sheet updated_at ISO timestamp [string] [required]
--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 set-visibility 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