Skip to content

CLI

plexctl is the operator-facing command-line client for the plexsphere /v1 REST API. It ships from cmd/plexctl/ as a single static Go binary and shares the typed OpenAPI client with the dashboard, so a CLI flag and a dashboard click hit the same backend handler.

What is here

When to read this section

  • You need the canonical syntax for a plexctl command, including flag types and exit codes.
  • You are scripting plexctl against the API and need to know which exit codes are stable and what they mean.
  • You are debugging a plexctl failure and want to confirm the expected output shape.

For the high-level operator workflows that compose multiple plexctl commands, see the CLI how-to guides and the operating procedures.