Skip to content

Commit

Permalink
add --model to subcommands that accept --select
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk committed Jan 18, 2023
1 parent a568d41 commit d4a423b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/dbt/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d4a423b

Please sign in to comment.