Skip to content

CLI reference

Command overview

Know which commands are offline, read-only, or mutate the warehouse.

Run sqt --help and sqt <command> --help for the installed version’s options. These docs describe SQLTide 0.60.0. Run from inside a project or pass --project-dir PATH.

TaskCommandEffect
Inspect authored resourcessqt discoverOffline
Validate and emit SQL/DDLsqt compileOffline; writes disposable target/ artifacts
Inspect proposed operationssqt planReads warehouse; writes local plan artifacts
Apply a pipeline changesqt buildReplans, confirms, mutates warehouse
Test model logicsqt testExecutes test queries and records results
Check current datasqt auditExecutes audits and records results
Run local UI and enabled automationsqt devConnected server; actions can mutate
Inspect/stage publication workflowsqt deploymentRead or mutate depending on subcommand
Inspect stable bindingssqt doctorRead-only warehouse inspection
Repair one stable viewsqt repair active-viewExplicit mutation
Adopt compatible metadata baselinesqt reconcilePreview; --apply confirms and writes metadata
Clean deployment physicalssqt janitorPreview; --apply drops without another prompt
Destroy/reset owned relationssqt destroy, sqt reset-targetInteractive frozen-plan review and typed challenges
Manage accountssqt adminControl-store mutation; no warehouse required

compile is not a dry-run build and plan is not an approval token. Every build inspects current state again. Failed builds are rerun, not resumed from copied workflow SQL.

Selection syntax varies by command: plan/build select downstream closure without graph + syntax; test supports leading/trailing +; audit supports leading + only. See each command’s reference.