Skip to content

bcdock companies switch

bcdock companies switch

Switch active company context

Synopsis

Switch to a different company. All subsequent commands run against the new company.

New tokens are stored in ~/.bcdock/credentials.json.

bcdock companies switch <id|name|slug> [flags]

Options

  -h, --help   help for switch

Options inherited from parent commands

      --api-url string     API base URL (overrides BCDOCK_API_URL env var)
      --no-color           Disable colored output
  -o, --output string      Output format: table, json, csv (default "table")
  -q, --quiet              Suppress non-essential output
      --timeout duration   Request timeout (default 30s)
      --token string       API token (overrides BCDOCK_TOKEN env var)

SEE ALSO