Skip to content

Command reference

bcdock

BCDock CLI - manage Business Central environments

Synopsis

Welcome to BC[)OCK! Managed Business Central sandboxes in cloud.

BCDock CLI wraps the BCDock Platform API for use in terminals, scripts, and AI agent workflows.

Set BCDOCK_TOKEN to authenticate without --token. (env: BCDOCK_TOKEN) Set BCDOCK_API_URL to target a different API endpoint. (env: BCDOCK_API_URL)

See 'bcdock help authentication' for token-source precedence and CI/CD guidance. See 'bcdock help agent-workflows' for recipes for Claude, Copilot, and similar.

Examples

  bcdock env list
  bcdock env create --name my-env --version 25.5 --country au --region westus2 --wait
  bcdock auth whoami

Options

      --api-url string     API base URL (env: BCDOCK_API_URL)
  -h, --help               help for bcdock
      --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 (env: BCDOCK_TOKEN)

SEE ALSO