@archbee/cli
v0.1.22
Published
Archbee CLI — Local documentation preview and API integration
Downloads
2,387
Readme
Installation
npm install -g @archbee/cliQuick Start
archbee new my-docs
cd my-docs
archbee devYour docs site is running at http://localhost:3000 with hot reload.
What It Does
Run archbee with no arguments to see all available commands.
Local Development
| Command | Description |
|---------|-------------|
| archbee dev | Start local preview with hot reload |
| archbee new <dir> | Create a new documentation project |
| archbee validate | Check config and doc structure for errors |
| archbee broken-links | Find broken internal links |
| archbee update | Update CLI to the latest version |
| archbee version | Display the current CLI version |
API Commands
Manage docs on the Archbee platform. Require --api-key and --doc-space-id.
| Command | Description |
|---------|-------------|
| get-doc | Get a document by ID (markdown, html, json, or source) |
| create-doc | Create or update a document |
| delete-doc | Delete a document |
| search-docs | Search documents in a space |
| import-content | Import markdown files (.md or .zip) |
| create-space | Create a new space |
| update-space | Update space settings |
| publish-space | Publish documents |
| clone-space | Clone a space |
| sync-openapi | Sync an OpenAPI spec to create API reference docs |
| info-openapi | Get info about an OpenAPI tree |
| upload | Upload a file |
| merge-suggestion | Merge a suggestion |
| discard-suggestion | Discard a suggestion |
| export | Export team documentation |
| display-rules | List display rules |
Run archbee <command> --help for detailed options.
Works With Your Existing Docs
Drop into any project - the CLI auto-detects the config format:
| Format | Config File |
|--------|------------|
| Archbee | archbee.json |
| Docusaurus | docusaurus.config.js / .ts |
cd your-existing-docs-project
archbee devDocumentation
Full configuration reference, guides, and examples:
Troubleshooting
- Make sure you're in a folder with a config file (
archbee.jsonordocusaurus.config.js/.ts) - Run
archbee updateto get the latest version - Requires Node.js 18+. LTS versions recommended.
