0
votes

Is there a way to use the dbt cli to run my project's hooks without running any models?

i.e.

dbt run --post-hooks
1

1 Answers

2
votes

If you have a macro you want to run in isolation from the rest of the resources in your project, you may want to look into operations:

dbt run-operation my_macro