Skip to content
GhostbranchdocsGitHub

Global flags

The flags every ghostbranch command takes.

Every command takes these flags, as well as its own.

Flag Value Default Description
--dry-run — — preview exactly what would change, and change nothing
--json — — print JSON on stdout: one object (wait streams one event per line, the result last)
--no-color — — never colour human output (NO_COLOR does the same)
--non-interactive — — never prompt; missing input is an error
--repo <string> — public or shadow repo (owner/name) to act on
--workspace <string> — workspace name (default $GHOSTBRANCH_WORKSPACE or “default”)