Flags apply to the main scaffold command (bun run dev:cli -- … from source).
| Flag | Purpose |
|---|---|
| --yes | Non-interactive defaults (CI, agents, repeatability). |
| --dir=<path> | Parent directory or exact project path for output. |
| --preset=<id> | Starting point from the registry (see Presets). |
| --family=<name> | Legacy family selection when migrating old scripts. |
| --pm=bun|pnpm|npm | Package manager. Bun default; pnpm first-class; npm experimental. |
| --backend=<name> | Backend override on fullstack-capable routes. |
| --database=postgres|sqlite|mongodb|none | Database selection for supported routes. |
| --orm=prisma|drizzle|none | ORM selection for supported routes. |
| --showcase / --no-showcase | Keep or strip demo/showcase routes and content. |
| --worker / --no-worker | Include or omit the BullMQ worker workspace. |
| --docker / --no-docker | Generate or skip Dockerfiles and compose stubs. |
| --ci / --no-ci | Generate or skip GitHub Actions CI workflows. |
| --deployment=<mode> | Deployment documentation mode baked into generated docs. |
| --dry-run | Print planned writes without touching disk. |
By concern
| Group | Flags |
|---|---|
| Output | --dir, --output, --dry-run, --yes |
| Stack | --preset, --family, --bundle, --backend, --database, --orm |
| Package manager | --pm, --package-manager |
| Infra | --worker, --docker, --ci, --deployment, --tests |
| Product | --showcase, --install, --git |
| Agent / UX | --help, --version |
Walkthroughs: TypeScript · Automation
Examples
terminal
# TypeScript fullstack with pnpm catalogs
bun run dev:cli -- my-app --yes --preset=typescript-fullstack --pm=pnpm --dir=../projects
# Rust API only
bun run dev:cli -- my-api --yes --preset=rust-api --dir=../projects
# Preview without writing files
bun run dev:cli -- my-app --yes --dry-run
# API-only shape without worker
bun run dev:cli -- my-app --yes --preset=typescript-fullstack --no-worker