Search documentation

Find a page in the Andurel docs.

Overview

The andurel command creates projects, generates application code, manages databases and tools, compiles email and frontend assets, builds releases, and exposes structured discovery.

Discover the current surface

The v2 CLI evolves with each release, so discover commands instead of copying a static list:

1andurel --help
2andurel commands --json
3andurel inspect project --json
4andurel packages list --json
5andurel tool list --json

Daily workflow

1andurel run
2andurel fmt
3andurel doctor --verbose
4andurel build --version v2.0.0-alpha.2

run coordinates live reload and code generation. fmt formats Go and Templ. doctor checks project health, package migration issues, and generated code. build compiles narsilc when query files exist, email, Templ, CSS, optional Vite/SSR assets, and the Go application.

Create a project

1andurel new orbit --ui vue/pnpm
2andurel new orbit --ui templ/datastar
3andurel new orbit --dry-run --json

--ui accepts react|vue|svelte combined with pnpm|bun|npm (default react/pnpm), or templ/datastar. After creation, run andurel tool sync and andurel doctor --json.

Generate and sync

 1andurel generate migration create_products_table
 2andurel db migrate up
 3andurel generate scaffold Product
 4andurel generate model Product
 5andurel generate model ReportRow --custom id:uuid total:int64
 6andurel sync model Product
 7andurel generate query ProductReport --table products
 8andurel sync queries
 9andurel generate controller Product
10andurel generate controller Widget --host=admin --prefix=admin
11andurel generate job SendReceipt
12andurel generate email Receipt

Keep derived TypeScript and Templ output current with andurel sync routes, andurel sync payloads, and andurel sync views.

Preview mutations

Use structured dry runs where supported:

1andurel new orbit --dry-run --diff --json
2andurel generate scaffold Product --dry-run --diff --json

The v2 line does not automate upgrading a v1 application. See Upgrade Guide. Command groups: generate, sync, inspect, db, packages, skill, Agent Output.