gouline / dbt-metabase

dbt + Metabase integration
https://pypi.org/project/dbt-metabase/
MIT License
442 stars 63 forks source link

Error: No such option: --schema (Outdated README) #125

Closed Fszta closed 1 year ago

Fszta commented 1 year ago

Description

I got the following error : Error: No such option: --schema Did you mean --dbt_schema? when running the README example

dbt-metabase models \
    --dbt_path . \
    --dbt_database business \
    --metabase_host metabase.example.com \
    --metabase_user user@example.com \
    --metabase_password Password123 \
    --metabase_database business \
    --schema public

Suggestion

It's seems that the readme is outdated, schema flag must be replaced by dbt_schema as follow :

dbt-metabase models \
    --dbt_path . \
    --dbt_database business \
    --metabase_host metabase.example.com \
    --metabase_user user@example.com \
    --metabase_password Password123 \
    --metabase_database business \
    --dbt_schema  public

Version

dbt-metabase==0.9.3