-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --target and --profile to global config (#9081)
* Add @p.profile and @p.target to the list of "global" CLI flags * Add env vars (DBT_PROFILE, DBT_TARGET) to the params * Add unit test * Simplify unit test * changie * Update .changes/unreleased/Features-20231115-092005.yaml Co-authored-by: Doug Beatty <[email protected]> * Fix incorrect envvar names * Realign environment variable names * Remove from specific subcommands * Add test_global_flags_not_on_subcommands * Remove one unnecessary test case * Remove other unnecessary test case --------- Co-authored-by: Doug Beatty <[email protected]> Co-authored-by: Doug Beatty <[email protected]>
- Loading branch information
1 parent
461e8e5
commit c6c0c79
Showing
3 changed files
with
10 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: Features | ||
body: Global config for --target and --profile CLI flags and DBT_TARGET and DBT_PROFILE environment variables. | ||
time: 2023-11-15T09:20:05.12461Z | ||
custom: | ||
Author: barton996 | ||
Issue: "7798" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters