This is the complete reference for the dxb CLI (@doxbrix/cli), organized by task. Every command supports --help for inline usage and the global --json flag where output is structured.
Global flags
These flags work on every command:
Flag
Alias
Description
`--project <slug\
id>`
`-p`
`--profile <name>`
Use a specific [auth profile](/cli/overview/authentication).
`--token <token>`
Authenticate with a [token](/cli/overview/authentication).
`--api-url <url>`
Override the API base URL.
`--cwd <dir>`
Run as if started in this directory.
`--json`
Output machine-readable JSON.
`--yes`
`-y`
Skip confirmation prompts.
`--quiet`
`-q`
Suppress non-essential output.
`--verbose`
`-v`
Verbose output (request ids, stacks).
`--help`
`-h`
Show help for a command.
`--version`
Print the CLI version.
Setup
Command
Description
Reference
`dxb init [dir]`
Scaffold a new docs-as-code project (`--from` to convert).
[Initialize a project](/cli/author/init)
`dxb doctor`
Check your environment and configuration.
[Install the CLI](/cli/overview/install)
`dxb completion <shell>`
Print a shell completion script.
[Install the CLI](/cli/overview/install)
`dxb open [app\
editor]`
Open the app or editor in your browser.
Authoring structure
Command
Description
Reference
`dxb space create <name>`
Create a space (`--slug`, `--locale`, `--parent`).