chalksurf exercise visibility set
chalksurf exercise visibility set [exerciseId]
Set exercise visibility after checking the current updated_at value
Positionals: exerciseId Exercise 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 exercise updated_at ISO timestamp [string] --public Make the exercise public [boolean] --private Make the exercise private [boolean] --confirm-make-public-resource-id Required when using --public; must exactly match the exercise ID [string]
Examples: chalksurf exercise 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 an exercise public with confirmation