Python script to make YML files for all models present in your models folder on a dbt project
You need to have the dbt-codegen package installed. You can install it by adding:
- package: dbt-labs/codegen
version: ">=0.8.0"
Call the script within dbt's folder after activating your virtual environment