vscode-dbt-power-user
vscode-dbt-power-user copied to clipboard
pass profile, target and vars via env vars
Overview
Problem
https://github.com/AltimateAI/vscode-dbt-power-user/issues/1340
I have a complicated dbt project requires specifying profile, target and vars explicitly on dbt-compile. So currently some features run dbt-compile (e.g. compiled sql preview, lineage) don't work.
Solution
Allow to provide these parameters via environment variables.
Screenshot/Demo
A picture is worth a thousand words. Please highlight the changes if applicable.
How to test
- Steps to be followed to verify the solution or code changes
- Mention if there is any settings configuration added/changed/deleted
Checklist
- [x] I have run this code and it appears to resolve the stated issue
- [ ]
README.mdupdated and added information about my change
Thanks for your contribution @syucream . We will review it soon.
@anandgupta42 Sure. Which is the doc files?