generate
If you're using Aggregates in resource files, Metriql needs to create the dbt models under models/metriql
directory of your dbt project. You can run this command every time you push a commit to the GIT repository to update the aggregate models.
Please see Aggregates to learn more about this feature.
#
./metriql.sh generate --helpUsage: commands generate [OPTIONS]Generates dbt models for aggregatesOptions:-d, --debug Enable debugging--profiles-dir TEXT Which directory to look in for the profiles.ymlfile. Default = ~/.dbt--profiles-content TEXT Profiles content as YML, overrides --profiles-diroption--profile TEXT Which profile to load. Overrides setting indbt_project.yml.--project-dir TEXT Which directory to look in for the dbt_project.ymlfile. Default is the current working directory andits parents.-o, --output-dir TEXT Which directory to create aggregate models.-h, --help Show this message and exit