Skip to content

Commit

Permalink
Add INDIRECT_SELECTION to global parser (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
BAntonellini authored Aug 23, 2024
1 parent 25fcdea commit 8dea985
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dbt_coves/core/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,15 @@
help="Show resource names without spaces",
dest="REQUIRE_RESOURCE_NAMES_WITHOUT_SPACES",
)
base_subparser.add_argument(
"--indirect-selection",
type=str,
default="eager",
help="Choose which tests to select that are adjacent to selected resources. "
"Eager is most inclusive, cautious is most exclusive, and buildable is in between. "
"Empty includes no tests at all.",
dest="INDIRECT_SELECTION",
)


sub_parsers = parser.add_subparsers(title="dbt-coves commands", dest="task")
Expand Down

0 comments on commit 8dea985

Please sign in to comment.