From d4a423b5dc0915b8dced9d49af06ec3fb3e801f2 Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Tue, 17 Jan 2023 21:32:28 -0500 Subject: [PATCH] add --model to subcommands that accept --select --- core/dbt/cli/main.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/dbt/cli/main.py b/core/dbt/cli/main.py index c94c53a5826..8e966a2fef4 100644 --- a/core/dbt/cli/main.py +++ b/core/dbt/cli/main.py @@ -97,6 +97,7 @@ def cli(ctx, **kwargs): @p.fail_fast @p.full_refresh @p.indirect_selection +@p.models @p.profile @p.profiles_dir @p.project_dir @@ -150,6 +151,7 @@ def docs(ctx, **kwargs): @p.compile_docs @p.defer @p.exclude +@p.models @p.profile @p.profiles_dir @p.project_dir @@ -191,6 +193,7 @@ def docs_serve(ctx, **kwargs): @p.defer @p.exclude @p.full_refresh +@p.models @p.parse_only @p.profile @p.profiles_dir @@ -376,6 +379,7 @@ def run_operation(ctx, **kwargs): @click.pass_context @p.exclude @p.full_refresh +@p.models @p.profile @p.profiles_dir @p.project_dir @@ -400,6 +404,7 @@ def seed(ctx, **kwargs): @click.pass_context @p.defer @p.exclude +@p.models @p.profile @p.profiles_dir @p.project_dir @@ -427,6 +432,7 @@ def source(ctx, **kwargs): @source.command("freshness") @click.pass_context @p.exclude +@p.models @p.output_path # TODO: Is this ok to re-use? We have three different output params, how much can we consolidate? @p.profile @p.profiles_dir @@ -451,6 +457,7 @@ def freshness(ctx, **kwargs): @p.exclude @p.fail_fast @p.indirect_selection +@p.models @p.profile @p.profiles_dir @p.project_dir