Dashlane/dbt-invoke

Extend Readme with an example of single model run

Opened this issue · 1 comments

Hi, first of all thanks for this great addon to dbt. I have one small thing that could be added to the Readme.

Is there a possibility to run the dbt-invoke properties --models command to produce a .yml file for one specific model placed in a subfolder. For example: My model is located at models/marts/folder_a/model_a.sql, what is the command to produce the models/marts/folder_a/model_a.yml file?

Good catch, thanks for submitting this issue!

It would look like: dbt-invoke properties --models model_a

dbt requires unique model names, so it is the same command whether it is in a subfolder or directly in the models folder.