CLI Reference
The dana executable bundles the compiler, vectorized columnar VM, SQL pushdown planner, safe REPL, schema tools, and embedded Language Reference:
| Command | Role |
|---|---|
dana check FILE... |
Type-check schemas, sensitivity tags, capability signatures, and dana.policy ceilings offline. |
dana run FILE [-- ARGS] |
Execute a .dana pipeline with explicit --db, --local-http, or filesystem capability grants. |
dana test PATH |
Run inline examples and test blocks on the vectorized VM (and optionally --oracle). |
dana format FILE... |
Canonical formatter (--check in CI). |
dana explain --dialect sqlite|postgres FILE |
Print logical plan, optimized plan, parameterized SQL pushdown split, and sensitivity provenance. |
dana dry-run FILE |
Preview database, file, and network writes strictly read-only with automatic PII/FERPA redaction. |
dana repl [--db NAME=DSN] |
Safe, read-only, privacy-redacted interactive REPL. |
dana fake |
Generate deterministic synthetic fixtures from declared schema definitions. |
dana infer-schema / dana schema-sync |
Infer schema declarations and update offline schema.lock snapshots. |
dana guide [SECTION] |
Print the embedded Language Reference matching the installed binary (Privacy, etc.). |