Hey @jon-rtr - I totally agree that this syntax is confusing! In this example, you could run the models in models/red/
with:
dbt run --models red.*
The .*
is actually superfluous in most cases, but I like to add it to make things explicit.
The --models
flag works this way to support selecting:
- models by name
- directories
- packages
Since it supports selecting three different types of things, the syntax is necessarily a little weird. Hope this helps!