Skip to content
DevelopersTerminal

Workspace CLI reference


Read, attach, check, and inspect a Project's source.

On this page

Use this page to inspect every public atoi workspace command, its accepted flags, and one runnable example. Return to the CLI reference index to choose another command group.

atoi workspaceUse the compatibility source topic retained for existing scripts.

CommandWhat it does
atoi workspace showRead the source binding for a Project through the compatibility topic.
atoi workspace bindBind Project source through the compatibility topic.
atoi workspace statusReport local source truth through the compatibility topic.
atoi workspace changesRead a Project change set through the compatibility topic.

#workspace show

Read the source attached to a Project.

atoi workspace show <project-id> [--project <project-id>]

FlagTypeDefaultValuesWhat it does
--projectstringSelect a Project by id.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run workspace show

bash
atoi workspace show prj_8k2v --json

#workspace bind

Attach a repository and branch to a Project.

atoi workspace bind <project-id> [--project <project-id>] --repo <owner/repo> --branch <branch> [--directory <path>]

FlagTypeDefaultValuesWhat it does
--projectstringSelect a Project by id.
--repostringAttach a credential-free repository URL or owner/repository shorthand.
--branchstringAttach the authoritative repository branch.
--directorystringUse a local Git directory or a path within the attached repository.
--idempotency-keystringReuse a mutation identity when you safely retry the same action.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run workspace bind

bash
atoi workspace bind prj_8k2v --repo owner/repository --branch main --json

#workspace status

Check and report the Project's local source state.

atoi workspace status <project-id> [--project <project-id>] [--directory <path>] [--preview-url <url>]

FlagTypeDefaultValuesWhat it does
--projectstringSelect a Project by id.
--directorystringcurrent directoryInspect this local Git directory.
--preview-urlstringReport a credential-free HTTP or HTTPS preview URL.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run workspace status

bash
atoi workspace status prj_8k2v --directory . --json

#workspace changes

Read a Project's latest or selected Task change set.

atoi workspace changes <project-id> [--project <project-id>] [--task <task-id>]

FlagTypeDefaultValuesWhat it does
--projectstringSelect a Project by id.
--taskstringSelect a Task by id instead of a positional id.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run workspace changes

bash
atoi workspace changes prj_8k2v --task tsk_3m9q --json

Was this useful?