From a006036c147386431322bb07a1cc1a07c8eb4395 Mon Sep 17 00:00:00 2001 From: dwreeves Date: Tue, 16 May 2023 15:21:39 -0400 Subject: [PATCH] add target-path to more cli commands that use it. --- .changes/unreleased/Fixes-20230516-152644.yaml | 6 ++++++ core/dbt/cli/main.py | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 .changes/unreleased/Fixes-20230516-152644.yaml diff --git a/.changes/unreleased/Fixes-20230516-152644.yaml b/.changes/unreleased/Fixes-20230516-152644.yaml new file mode 100644 index 00000000000..f68cf8dc842 --- /dev/null +++ b/.changes/unreleased/Fixes-20230516-152644.yaml @@ -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" diff --git a/core/dbt/cli/main.py b/core/dbt/cli/main.py index 30051063095..73676b9024a 100644 --- a/core/dbt/cli/main.py +++ b/core/dbt/cli/main.py @@ -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 @@ -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 @@ -477,6 +479,7 @@ def init(ctx, **kwargs): @p.state @p.deprecated_state @p.target +@p.target_path @p.vars @requires.postflight @requires.preflight @@ -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 @@ -691,6 +695,7 @@ def source(ctx, **kwargs): @p.state @p.deprecated_state @p.target +@p.target_path @p.threads @p.vars @requires.postflight