Skip to main content

Global flags

These flags can be passed to any zombiectl command.
FlagDescriptionDefault
--api <url>API base URLhttps://api.usezombie.com
--jsonMachine-readable JSON outputfalse
--no-openSuppress browser auto-open (login)false
--no-inputNon-interactive modefalse
--helpShow help text
--versionShow CLI version

Exit codes

CodeMeaning
0Success
1General error (validation failure, API error)
When --json is enabled, error responses include structured error codes for programmatic consumption:
{
  "error": {
    "code": "SPEC_VALIDATION_FAILED",
    "message": "Spec file is missing required frontmatter fields."
  }
}