drt
Reverse ETL as code — no UI, no lock-in, no per-row bill.
Usage
drt [OPTIONS] COMMAND [ARGS]...
Commands
| Command | Description |
|---|---|
apply | Apply a plan only if recomputing it gives the same change set. |
build | Run sync(s) and their tests in one invocation (sequential). |
clean | Clean up orphan __drt_swap shadow tables left by interrupted swaps. |
cloud | drt Cloud commands (stub). |
config | Manage user-level drt settings (~/.drt/). |
decrypt | Decrypt secrets.toml.enc with the age identity in DRT_SECRETS_KEY. |
deploy | Scaffold CI/CD deployment files for this project. |
destinations | List available destination connectors. |
docs | Generate or serve the project's sync catalog. |
doctor | Check environment and report potential issues. |
encrypt | Encrypt secrets.toml with the age identity in DRT_SECRETS_KEY. |
init | Initialize a new drt project in the current directory. |
list | List all sync definitions in the project. |
mcp | MCP server commands. |
plan | Compute what a sync would change, as a reviewable artifact. |
plugins | Inspect installed drt plugins (entry-point extensions). |
profile | Manage source credential profiles in ~/.drt/profiles.yml. |
retry | Replay failed records from a sync's Dead Letter Queue. |
run | Run sync(s) defined in the project. |
serve | Start an HTTP endpoint that triggers drt syncs on demand. |
sources | List available source connectors. |
state | Inspect and reset drt's durable state (watermarks, run state, mirror keys). |
status | Show the status of the most recent sync runs. |
test | Run post-sync validation tests. |
validate | Validate sync definitions against the JSON Schema. |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--version, -v | BOOLEAN | Show version. | |
--install-completion | BOOLEAN | Install completion for the current shell. | |
--show-completion | BOOLEAN | Show completion for the current shell, to copy it or customize the installation. |