dbt commands, such as
test, support their own command-specific CLI flags. In addition, 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 in the
--record-timing-info flags remain available to the CLI only.
--version flag returns information about the currently installed version of dbt.
$ dbt --version
installed version: 0.15.1
latest version: 0.15.1
Up 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