dbt
CLI for dbt - Data Build Tool
Subcommands
Name | Description |
---|---|
build | Run models, test tests, snapshot snapshots, and seed seeds |
run | Runs the models in a project |
debug | Debugs dbt connections and projects |
init | Initializes a new dbt project |
compile | Compiles (but does not run) the models in a project |
test | Executes tests defined in a project |
deps | Downloads dependencies for a project |
snapshot | Executes 'snapshot' jobs defined in a project |
clean | Deletes artifacts present in the dbt project |
seed | Loads CSV files into the database |
docs | Generates documentation for a project |
source | Provides tools for working with source data (including validating that sources are 'fresh') |
run-operation | Runs arbitrary maintenance SQL against the database |
rpc | Runs an RPC server that clients can submit queries to |
ls, list | Lists resources defined in a dbt project |
parse | Parse dbt project and write detailed timing information |
Options
Name | Description |
---|---|
--version | Currently installed version |
-r, --record-timing-info <file name> | Create a new file to record timing info |
-d, --debug | Redirect debug logs to standard out |
--log-format <log format> | Specify how dbt's logs should be formatted |
--no-write-json | Prevent dbt from writing JSOn artifacts to the 'target/' directory |
-S, --strict | Perform extra validation of dbt objects and internal consistency checks during compilation. Use only during development |
--warn-error | Convert dbt warnings into errors |
--partial-parse | Configure partial parsing for your project |
--no-partial-parse | Turn off partial parsing for your project |
--use-colors | Default value -- colorize run logs |
--no-use-colors | Disable log colorizing |