Closed PedramNavid closed 1 year ago
dbt 1.5 now logs to stdout when running dbt ls
dbt ls
This is a breaking change from 1.4 which only output JSON.
This can be solved by asking dbt not to generate logs dbt --log-level=NONE ls However this is a new flag in 1,5 which means we need to
dbt --log-level=NONE ls
1) Figure out what version of dbt the user is running 2) Set the appropriate flags depending on 1.4 or 1.5
Getting the version will require parsing text.
dbt 1.5 now logs to stdout when running
dbt ls
This is a breaking change from 1.4 which only output JSON.
This can be solved by asking dbt not to generate logs
dbt --log-level=NONE ls
However this is a new flag in 1,5 which means we need to1) Figure out what version of dbt the user is running 2) Set the appropriate flags depending on 1.4 or 1.5
Getting the version will require parsing text.