The inspection commands let you query your Doxbrix workspace from the terminal — listing projects, spaces, and pages, and reading a page's content. They're read-...
The inspection commands let you query your Doxbrix workspace from the terminal — listing projects, spaces, and pages, and reading a page's content. They're read-...
The inspection commands let you query your Doxbrix workspace from the terminal — listing projects, spaces, and pages, and reading a page's content. They're read-only and handy for scripting and debugging. Add the global --json flag to any of them for machine-readable output.
Projects
# List the projects you can access
dxb project list # alias: dxb project ls
# Inspect one (slug or id; defaults to the selected project)
dxb project view my-docs # alias: dxb project get
# Set the selected project for this folder
dxb project use my-docsdxb project also has the alias dxb projects.
Spaces
List the spaces in the selected project:
dxb space list # alias: dxb space ls / dxb spaces lsPages
# List pages (optionally filter by space id and status)
dxb page list --status draft --limit 50
# List pages in one space
dxb page list --space <spaceId>| Flag | Description |
|---|---|
| `--space <spaceId>` | Filter by space id. |
| `--status <status>` | Filter by status (`draft`, `in_review`, `published`, `unpublished`). |
| `--limit <n>` | Max rows (1–500, default 100). |
Read a page
Fetch a single page by its id, optionally including its content blocks:
# Page metadata
dxb page get <pageId> # alias: dxb page view
# Include the content blocks
dxb page get <pageId> --contentdxb page list --json to get page ids, then pipe into dxb page get to script bulk inspections.Scripting tips
- Add
--jsonto any command for clean parsing withjq. - Use
-p/--projectto target a project other than the selected one. - These commands are read-only — safe to run anywhere, including CI checks.