/APIs & SDKs/Configuration commands/status

OptiTech CLI command: status

Show the branch's live OptiTech state

The status command shows the branch's live OptiTech state. It is an alias of optitech config status, so it reports the same information without the config prefix.

optitech status [options]
OptionDescriptionTypeDefaultRequired
--branchBranch ID or namestringNo
--config-jsonPrint only the branch's live config as optitech.ts-shaped JSON (services + branch tuning + preview), to stdout. Useful for scripting or copying into a optitech.ts.booleanfalseNo
--current-branchPrint only the linked branch name from the local .optitech file (no network). Exits non-zero when no branch is pinned.booleanfalseNo
--project-idProject IDstringNo
optitech status
Was this page helpful?
Copy neon init command