Docyrus CLI AppTerminal-first · Multi-tenant

Operate Docyrus from the command line

Authenticate once, switch environments and tenants, inspect OpenAPI, manage schemas, query live data, call the API directly, and run AI-assisted workflows across the Docyrus Platform from one terminal.

One terminal control plane for the full Docyrus Platform

Docyrus CLI App compresses platform setup, data operations, schema management, API discovery, and operator tooling into a single workflow that fits how technical teams actually work.

Session bootstrap

Environment, auth, and tenant context

Move between live, beta, alpha, and dev environments. Keep local or global settings, switch accounts and tenants, and preserve command context in structured output.

Device Code loginAccount switchingTenant switching
docyrus env list --json

docyrus auth login --clientId "83a8df32-3738-4b5a-a0c7-87976adb1631" --json

docyrus auth tenants use 1002 --json
Schema + data

Schema and data workflows

Use `studio` for developer-facing schema CRUD and `ds` for tenant-aware record operations, including filtering, bulk updates, file input, and live metadata access.

Data source CRUDField and enum updatesRecord list/create/update/delete
docyrus studio list-data-sources --appSlug crm --expand fields --json

docyrus ds list crm contacts --columns "name,email,status" --limit 20

docyrus ds update crm contacts REC_102 --data '{"status":"active"}'
Discover + call

OpenAPI discovery and direct API access

Inspect namespaces, endpoints, entities, and cached tenant specs without leaving the terminal, then drop into `docyrus curl` when you need direct request-level control.

OpenAPI cacheEndpoint searchDirect requests
docyrus discover namespaces --json

docyrus discover endpoint /v1/users/me --json

docyrus curl /v1/users/me -i
Operator tooling

Operator helpers for AI and browser workflows

Run `docyrus ai` for agent chat, use Chrome automation helpers, or launch the Bun-powered TUI when a visual terminal workflow fits better than raw commands.

AI chatChrome helpersInteractive TUI
docyrus ai "Summarize open incidents"

docyrus chrome content https://status.acme.app

docyrus tui
Install

Install and start in minutes

The CLI is designed to move from setup to useful work fast: install the package, authenticate, and immediately begin working against your tenant context.

Local or global settingsJSON output when neededContext included in successful results
Install
pnpm add -g @docyrus/docyrus
First login
docyrus auth login --clientId "83a8df32-3738-4b5a-a0c7-87976adb1631" --json

docyrus auth who --json
Headless architecture

A headless surface for humans and agents

Docyrus CLI App is not just a terminal for human operators. It is also a headless entry point into the same governed Docyrus runtime, so scripts and AI agents can authenticate, inspect context, query data, and trigger platform workflows without relying on a custom UI.

Human-triggeredAgent-triggeredSame governed runtime
Human operators use the CLI for speed

Developers and operators use the CLI when they need fast setup, debugging, schema work, tenant switching, or direct platform inspection from the shell.

Agents use the CLI as a controlled runtime surface

AI agents can call Docyrus through the CLI from coding environments, automations, and terminal-based workflows. That makes the CLI one of the practical headless architecture entry points for agents, with tenant context, permissions, and execution rules still enforced.

What You Can Run

Docyrus CLI App is for real terminal workflows: onboarding a project, switching tenants, shaping schema, inspecting the API, running data tasks, and supporting both human and agent-driven automation without juggling multiple tools.

Common workflows

Three high-value patterns technical teams run with Docyrus CLI App.

Bootstrap operator context

Authenticate with Device Code, resolve active tenant context, and move cleanly across live, beta, alpha, and local environments.

Shape schema and query live data

List data sources, update fields and enums, query records with filters and formulas, and call tenant-specific endpoints from the same shell flow.

Run AI and browser-assisted tasks

Combine AI chat, Chrome automation, API discovery, and the terminal UI for support, ops, and debugging workflows that need more than a raw REST client.

Frequently asked questions about Docyrus CLI App

What is Docyrus CLI App?+

Docyrus CLI App is the terminal interface for authenticating into Docyrus, switching environments and tenants, inspecting OpenAPI, managing schema, querying data, and running operator workflows from the command line. It also acts as a headless access surface for scripts and AI agents.

When should developers use Docyrus CLI App?+

Developers should use it when they want fast terminal workflows for platform setup, schema management, discovery, data operations, or AI-assisted operator tasks without moving across multiple tools.

What can teams ship with Docyrus CLI App?+

Teams can ship bootstrap scripts, admin workflows, schema updates, record operations, tenant-aware automation, and agent-driven terminal tooling around the Docyrus platform.

How does Docyrus CLI App fit with other Docyrus developer tools?+

It works alongside the REST API, Data MCP, and Docyrus apps as one of the headless control surfaces in Docyrus. Humans can use it interactively, and agents can call it from terminal-based workflows while the same tenant context, permissions, and execution rules remain in force.

Use the terminal as your control plane for the Docyrus Platform

Start with authentication and environment context, then move from discovery to data and schema operations without switching out of your CLI workflow.