CLI commands and flags

--ref

Specifies a Git reference branch to check out when provisioning an environment session.

Syntax

--ref <branch>

Example

Terminal
claude -p "Run the smoke test" --environment ccpool_abc123 --ref main

Type to search the reference, templates and lessons.