Skip to content

Commit

Permalink
Add target_path to more cli commands that use it (#7647) (#7961)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Reeves <31971762+dwreeves@users.noreply.github.com>
  • Loading branch information
jtcohen6 and dwreeves authored Jun 28, 2023
1 parent 66dd15b commit b187400
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20230516-152644.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Add --target-path to more CLI subcommands
time: 2023-05-16T15:26:44.557072-04:00
custom:
Author: dwreeves
Issue: "7646"
5 changes: 5 additions & 0 deletions core/dbt/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def build(ctx, **kwargs):
@p.profiles_dir
@p.project_dir
@p.target
@p.target_path
@p.vars
@requires.postflight
@requires.preflight
Expand Down Expand Up @@ -283,6 +284,7 @@ def docs_generate(ctx, **kwargs):
@p.profiles_dir
@p.project_dir
@p.target
@p.target_path
@p.vars
@requires.postflight
@requires.preflight
Expand Down Expand Up @@ -476,6 +478,7 @@ def init(ctx, **kwargs):
@p.state
@p.deprecated_state
@p.target
@p.target_path
@p.vars
@requires.postflight
@requires.preflight
Expand Down Expand Up @@ -576,6 +579,7 @@ def run(ctx, **kwargs):
@p.profiles_dir
@p.project_dir
@p.target
@p.target_path
@p.vars
@requires.postflight
@requires.preflight
Expand Down Expand Up @@ -690,6 +694,7 @@ def source(ctx, **kwargs):
@p.state
@p.deprecated_state
@p.target
@p.target_path
@p.threads
@p.vars
@requires.postflight
Expand Down

0 comments on commit b187400

Please sign in to comment.