dbt™️ generator
Not found
Generate base models
Usage: dbt-generator generate [OPTIONS]
Generate base models based on a .yml source
Options:
-s, --source-yml PATH Source .yml file to be used
-o, --output-path PATH Path to write generated models
-m, --model STRING Model name
-c, --custom_prefix. Enter a Custom String Prefix for Model Filename
--model-prefix BOOLEAN optional prefix of source_name + "_" to the resulting modelname.sql to avoid model name collisions across sources
--source-index INTEGER Index of the source to generate base models for
--help Show this message and exit.Example
Transform base models using a custom YAML file
Transform base models using pre-built configs
Example
Last updated
Was this helpful?