dbt commands (eg.
test, etc) support their own command-specific CLI flags. In addition to these command specific flags, the dbt command itself supports "global" flags applicable to all subcommands.
As of v1.0, the vast majority of global CLI flags map to global configs, which can also be configured via environment variables or
There remain two flags that are available on the CLI only:
--version flag returns information about the currently installed version of dbt.
$ dbt --versioninstalled version: 0.15.1latest version: 0.15.1Up to date!
Record timing info
--record-timing-info flag saves performance profiling information to a file. This file can be visualized with
snakeviz to understand the performance characteristics of a dbt invocation
$ dbt -r timing.txt run...$ snakeviz timing.txt