Skip to content

Commit

Permalink
[Feature] CLI Parameter for packages-install-path
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenayers committed Apr 13, 2024
1 parent c53d67d commit a4081e1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Features-20240413-093017.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: Add cli parameter for packages-install-path
time: 2024-04-13T09:30:17.83824+01:00
custom:
Author: stevenayers
Issue: "9932"
7 changes: 7 additions & 0 deletions core/dbt/cli/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,13 @@
type=click.Path(),
)

packages_install_path = click.option(
"--packages-install-path",
envvar="DBT_PACKAGES_INSTALL_PATH",
help="Configure the 'packages-install-path'. Only applies this setting for the current run. Overrides the 'DBT_PACKAGES_INSTALL_PATH' if it is set.",
type=click.Path(),
)

upgrade = click.option(
"--upgrade",
envvar=None,
Expand Down

0 comments on commit a4081e1

Please sign in to comment.