Skip to content

CLI Reference

The dockrion CLI is built with Typer (on top of Click). All commands accept --help for detailed usage.

CommandPurpose
dockrion initScaffold a new Dockfile interactively
dockrion validateValidate a Dockfile without running
dockrion runStart a local dev server (uvicorn)
dockrion buildGenerate runtime files and build a Docker image
dockrion testInvoke the agent locally without an HTTP server
dockrion inspectInvoke and inspect output, optionally generate io_schema
dockrion addAdd or update Dockfile sections (streaming, auth, secrets)
dockrion doctorRun environment diagnostics
dockrion logsView agent logs
dockrion versionShow version info
PageCommands Covered
3.1 Core Commandsinit, validate, run, build, test
3.2 Utility Commandsinspect, add, doctor, logs, version
3.3 Exit CodesExit code reference and source layout

Source: packages/cli/dockrion_cli/main.py and command modules


Previous: 2. The Dockfile | Next: 4. The Generated API →