Delete local .dazzle/spec_snapshots trees (gitignored)
dazzle clean snapshots --dry-run
List what would be removed
dazzle clean snapshots --all
Remove the entire snapshots directory (use after nested explosion)
dazzle clean snapshots --keep N
Keep the N newest top-level snapshot dirs (mtime); default 10
Why: historical ops rollback mirrors and accidental full-tree copies under
.dazzle/spec_snapshots/ can nest prior snapshots and produce millions of paths
(rsync backups stall). The product writer was retired with ADR-0051; residual
trees are safe to delete. Prefer --all when doctor warns about nesting.
Backup tip: exclude .dazzle/spec_snapshots/, .venv/, node_modules/,
and *cache* when rsyncing the monorepo — durable state is source + .git.
See also: dazzle.core.local_snapshots (shared copy-ignore for any future writer).
Every registered command group (sub-app). Run dazzle <group> --help for its
subcommands, or dazzle commands / dazzle search <keyword> to discover commands
interactively. This table is drift-gated against the CLI registration in
src/dazzle/cli/__init__.py (tests/unit/test_docs_drift.py) — adding a group
there requires a row here.
Group
Purpose
dazzle agent
Agent-first development commands
dazzle analytics
Analytics, consent, and privacy tooling
dazzle api-pack
API pack management — generate DSL, scaffold packs, inspect infrastructure
dazzle auth
Manage authentication users and sessions
dazzle backup
Backup and restore project data
dazzle capability
Manage opt-in feature capabilities
dazzle clean
Local hygiene — reclaim gitignored snapshot trees
dazzle compliance
Compliance documentation tools (ISO 27001 / SOC 2)
dazzle composition
Visual composition analysis for Dazzle apps
dazzle conformance
DSL conformance testing
dazzle contribution
Community contribution packaging — create, validate, share
dazzle db
Database migration commands (Alembic)
dazzle demo
Demo data management commands
dazzle deploy
Plan infrastructure + generate buildpack (Heroku) deploy files
dazzle discovery
App discovery and coherence analysis
dazzle domain
Agent-audience domain brief — extract/gaps/research/promote before DSL
dazzle dlq
Dead letter queue commands
dazzle docs
Documentation generation, validation, and maintenance
dazzle events
Event system commands
dazzle feedback
Feedback reports — list, triage, resolve
dazzle fitness
Agent-Led Fitness Methodology queries and triage
dazzle guide
Inspect onboarding guides declared in the project DSL
dazzle inspect
Introspect framework extension points and the public API surface
dazzle kg
Knowledge graph management
dazzle lsp
Language Server Protocol (LSP) commands
dazzle mcp
MCP (Model Context Protocol) server commands
dazzle mock
Vendor mock server management
dazzle nightly
Run quality checks in parallel (faster pipeline)
dazzle outbox
Event outbox commands
dazzle param
Runtime parameter management
dazzle perf
On-demand local OpenTelemetry tracing
dazzle pipeline
Run the deterministic quality pipeline
dazzle pitch
Generate investor pitch materials from DSL
dazzle process
Process proposal, storage, and diagramming
dazzle process-migrate
Process migration commands for safe DSL version deployments
Start the full-stack application (FastAPI backend + HTMX frontend).
dazzleserve[OPTIONS]
Option
Short
Default
Description
--manifest
-m
dazzle.toml
Path to manifest file
--port
-p
auto
Frontend port (default 3000)
--api-port
auto
Backend API port (default 8000)
--host
127.0.0.1
Host to bind to
--local
Run locally without Docker
--watch
-w
Hot reload on DSL changes
--watch-source
-W
Also watch framework source files
--ui-only
Serve static UI only (no API)
--backend-only
Serve API only (no frontend)
--graphql
Enable GraphQL endpoint at /graphql
--rebuild
Force Docker image rebuild
--attach
-a
Stream Docker logs to terminal
--database-url
PostgreSQL URL (also reads DATABASE_URL env)
--test-mode
Enable E2E test endpoints
--dev-mode
Enable dev control plane
# Docker mode (default)dazzleserve
# Local mode with hot reloaddazzleserve--watch
# API server onlydazzleserve--backend-only
# Custom portsdazzleserve--port4000--api-port9000# With GraphQLdazzleserve--graphql