Skip to main content

drt

Reverse ETL as code — no UI, no lock-in, no per-row bill.

Usage​

drt [OPTIONS] COMMAND [ARGS]...

Commands​

CommandDescription
applyApply a plan only if recomputing it gives the same change set.
buildRun sync(s) and their tests in one invocation (sequential).
cleanClean up orphan __drt_swap shadow tables left by interrupted swaps.
clouddrt Cloud commands (stub).
configManage user-level drt settings (~/.drt/).
decryptDecrypt secrets.toml.enc with the age identity in DRT_SECRETS_KEY.
deployScaffold CI/CD deployment files for this project.
destinationsList available destination connectors.
docsGenerate or serve the project's sync catalog.
doctorCheck environment and report potential issues.
encryptEncrypt secrets.toml with the age identity in DRT_SECRETS_KEY.
initInitialize a new drt project in the current directory.
listList all sync definitions in the project.
mcpMCP server commands.
planCompute what a sync would change, as a reviewable artifact.
pluginsInspect installed drt plugins (entry-point extensions).
profileManage source credential profiles in ~/.drt/profiles.yml.
retryReplay failed records from a sync's Dead Letter Queue.
runRun sync(s) defined in the project.
serveStart an HTTP endpoint that triggers drt syncs on demand.
sourcesList available source connectors.
stateInspect and reset drt's durable state (watermarks, run state, mirror keys).
statusShow the status of the most recent sync runs.
testRun post-sync validation tests.
validateValidate sync definitions against the JSON Schema.

Options​

OptionTypeDefaultDescription
--version, -vBOOLEANShow version.
--install-completionBOOLEANInstall completion for the current shell.
--show-completionBOOLEANShow completion for the current shell, to copy it or customize the installation.