--modelsflag accepts one or more arguments. Each argument can be one of:
3. a path hierarchy to a models directory
dbt run --models path.to.my.models # runs all models in a specific directory
dbt run --models path.to.models.* # select all models in path/to/models
For example, my project has a structure like:
And I only want to build the models in the models/red/ folder. How would I do that?
Am I misunderstanding the documentation?