CIRCE / DOCUMENTATION
CLI overview
Every circe command in one line, and the options they share.
On this page
| Command | Does | Page |
|---|---|---|
circe init [dir] |
Scaffold a project. | init |
circe dev |
Run with restart on change. | dev, start, build |
circe start |
Run in production. | dev, start, build |
circe build |
Validate without logging in. | dev, start, build |
circe doctor |
Diagnose environment and config. | doctor |
circe routes |
List discovered routes. | routes, manifest |
circe manifest |
Write .circe/project.json. |
routes, manifest |
circe add <kind> <name> |
Generate a module. | add |
circe completions <shell> |
Completion script: bash, zsh, fish, powershell. | |
circe version · help |
Version and help. |
Shared options
| Option | Meaning |
|---|---|
--json · --format json |
Machine-readable output. Failures become one structured document on stdout. |
-h, --help · -V, --version |
Help and version. |
Value options accept --name=value. Typos get a “Did you mean…?” hint. Color is off when NO_COLOR is set or stdout is not a TTY.
Calling it
| Runtime | Installed | Without installing |
|---|---|---|
| Node.js | npx circe <command> |
npx @sxnnyside/circe <command> |
| Bun | bun x circe <command> |
bun x @sxnnyside/circe <command> |
| Deno | deno task <command> |
deno run -A npm:@sxnnyside/circe/cli <command> |
In package.json scripts call circe directly. Exit codes: Exit codes.
