The --models flag accepts one or more arguments. Each argument can be one of:
3. a path hierarchy to a models directory
Examples:
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:
models/base/
models/blue/
models/green/
models/red/
And I only want to build the models in the models/red/ folder. How would I do that?