Search code examples
dbt

dbt - where is command line options explained?


dbt run command has apparently --target option as in Create -t flag as alias for dbt run --target #1281.

I looked for the dbt documents but cannot find about the --target option explained.

Please advise where to look.


Solution

  • With many CLIs, the most up-to-date docs are usually going to be from the CLI itself, using the --help option.

    To get an overview of dbt and view all sub-commands:

    $ dbt --help
    

    To get more info on the options available for each sub-command (e.g., dbt run):

    $ dbt run --help
    

    I do agree that the web docs should be more complete!