Search documentation

Find a page in the Andurel docs.

CLI 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 master CLI is evolving toward v2, so discover commands instead of copying a static list:

1andurel --help
2andurel commands --json
3andurel project info --json
4andurel config show --json

Daily workflow

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

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

Generate application code

1andurel generate model Product
2andurel generate query ProductReport --table products
3andurel generate queries
4andurel generate controller Product
5andurel generate scaffold Product
6andurel generate job SendReceipt
7andurel generate email Receipt

Preview mutations

Use structured dry runs where supported:

1andurel new orbit --dry-run --diff --json
2andurel generate scaffold Product --dry-run --diff --json
3andurel extension add docker --dry-run --diff --json

The v2 line does not automate upgrading a v1 application. See Moving to v2.