Skip to content

Commit

Permalink
Set global variable overrides on the command line with --vars (#640)
Browse files Browse the repository at this point in the history
* Set global variable overrides on the command line with --vars

* pep8

* integration tests for cli vars


automatic commit by git-black, original commits:
  76098ea
  • Loading branch information
drewbanin authored and iknox-fa committed Feb 8, 2022
1 parent 3baa5a8 commit 126e831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/dbt/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ def _build_base_subparser():
)

base_subparser.add_argument(
'--vars',
"--vars",
type=str,
default='{}',
default="{}",
help="""
Supply variables to the project. This argument overrides variables
defined in your dbt_project.yml file. This argument should be a YAML
Expand Down

0 comments on commit 126e831

Please sign in to comment.