Skip to main content

CLI Reference

Switchboard commands are available through the PROOF CLI plugin.

proof switchboard --help

Primary Commands

CommandPurposeMutates or spends
init / project initcreate switchboard.json and .switchboard/local files only
project showinspect project config and latest stateno
context addinteractive context setuplocal context file
context set/use/list/currentmanage named contextslocal context file except list/current
preflightcheck readinessno
launch-demodeploy bundled demoyes with --yes-spend
deploydeploy project workloadyes with --yes
deploy statusread workflow/report stateno
deploy doctordiagnose deployment stateno
deploy resumeresume one local workflowyes with --yes
statusdiagnose deployment reportno
claimableinspect released rewardsno
claimwithdraw released rewardsyes with signer and --yes
refundableinspect developer refund stateno
refundsubmit eligible developer refundyes with signer and --yes
hostname add/removemutate customer hostname route/cert stateyes with developer signature
hostname statusinspect customer hostname stateno
gateway setupprepare or launch gateway host configlocal host and optional admission
gateway discoverinspect manager-scoped capacityno unless writing env
gateway statusinspect gateway host stateno
gateway upgradepull and recreate gateway stackyes with --yes

Advanced Commands

Run:

proof switchboard --help --advanced

Advanced surfaces include:

  • session register/status/refund/refundable
  • validator launch/script
  • catalog build/inspect/verify/set-state
  • PROOF support DNS context commands, such as context dns set/clear
  • relay and bootstrap admin commands
  • ops profile commands under ops

Use advanced mutating commands only from runbooks or PROOF support. For normal deploys, stay on launch-demo, deploy, status, hostname, and read-only diagnostics.

Common Flags

--project-dir <path>
--context <name>
--json
--manifest-url <url>
--manifest-signer <signer>
--allow-expired-manifest
--relay-url <url>

Payment and signing flags include:

--polkadot-signer <seed|ledger>
--hub-signer <evm|polkadot>
--polkadot-address <address>
--polkadot-seed <uri>
--ledger
--ledger-mode <generic|legacy>
--ledger-account <n>
--ledger-address-index <n>
--ledger-metadata-chain-id <id>

JSON Output

Many read-only commands support --json:

proof switchboard preflight --quote --json
proof switchboard status --json
proof switchboard deploy status --json
proof switchboard deploy doctor --report report.json --json
proof switchboard hostname status app.example.com --json
proof switchboard validator script --json
proof switchboard catalog inspect --url '<catalog url>' --json

JSON output should be redacted by default. Do not paste raw deployment reports or logs into public issues without checking for hostnames, addresses, runtime details, or operational context.

Spend Confirmations

  • launch-demo spends only with --yes-spend.
  • deploy spends only with --yes.
  • claim and refund submit transactions only with signer material and confirmation.
  • claimable, refundable, status, deploy status, deploy doctor, hostname status, validator script, catalog inspect, and catalog verify are read-only.