run-operation
Overview
The dbt run-operation
command is used to invoke a macro. For usage information, consult the docs on operations.
Usage
$ dbt run-operation {macro} --args {args}{macro} Specify the macro to invoke. dbt will call this macrowith the supplied arguments and then exit--args ARGS Supply arguments to the macro. This dictionary will bemapped to the keyword arguments defined in theselected macro. This argument should be a YAML string,eg. '{my_variable: my_value}'