dbt cli 运行 - 只有项目前或 post 挂钩?

dbt cli run - only project pre or post hooks?

有没有办法使用 dbt cli 运行 我的项目的钩子而不 运行 任何模型?

dbt run --post-hooks

如果您有一个宏,您希望 运行 与项目中的其他资源隔离开来,您可能需要查看 operations:

dbt run-operation my_macro