Skip to content

Commit

Permalink
add target-path to more cli commands that use it.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwreeves committed May 16, 2023
1 parent df23f68 commit a006036
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 @@ -284,6 +285,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 @@ -477,6 +479,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 @@ -577,6 +580,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 @@ -691,6 +695,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 a006036

Please sign in to comment.