Skip to content

Commit a408a8d

Browse files
thiagowfxAmp
andcommitted
feat(review_queue): rename --include-team to --include-teams
Amp-Thread-ID: https://ampcode.com/threads/T-019cb3cb-925a-77ef-9fcc-279bc3fb59dd Co-authored-by: Amp <amp@ampcode.com>
1 parent cca4f94 commit a408a8d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

review_queue/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ review_queue --slack | pbcopy
2323
review_queue --include-draft
2424

2525
# Include team-based review requests (excluded by default)
26-
review_queue --include-team
26+
review_queue --include-teams
2727

2828
# Filter by organization
2929
review_queue -o helm
@@ -45,7 +45,7 @@ review_queue -q && echo "reviews pending" || echo "inbox zero"
4545
- `--json` - Output raw JSON
4646
- `--slack` - Output as Slack mrkdwn (for pasting into Slack)
4747
- `--include-draft` - Include draft PRs (excluded by default)
48-
- `--include-team` - Include PRs where review was requested via team (excluded by default)
48+
- `--include-teams` - Include PRs where review was requested via team (excluded by default)
4949
- `-o, --org ORG` - Filter PRs to a specific organization
5050
- `--created-before WHEN` - Only show PRs created before WHEN (YYYY-MM-DD or relative like "60 days")
5151
- `--created-after WHEN` - Only show PRs created after WHEN (YYYY-MM-DD or relative like "60 days")

review_queue/review_queue.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ OPTIONS:
1717
--json Output raw JSON
1818
--slack Output as Slack mrkdwn (for pasting into Slack)
1919
--include-draft Include draft PRs (excluded by default)
20-
--include-team Include PRs where review was requested via team (excluded by default)
20+
--include-teams Include PRs where review was requested via team (excluded by default)
2121
-o, --org ORG Filter PRs to a specific organization
2222
--created-before WHEN Only show PRs created before WHEN (YYYY-MM-DD or relative like "60 days")
2323
--created-after WHEN Only show PRs created after WHEN (YYYY-MM-DD or relative like "60 days")
@@ -40,7 +40,7 @@ EXAMPLES:
4040
$cmd --created-before "7 days" Only show PRs older than 7 days
4141
$cmd --created-after 2025-01-01 Only show PRs created after a date
4242
$cmd helm/helm tulip/terraform Only show PRs from specific repos
43-
$cmd --include-team Include team-based review requests
43+
$cmd --include-teams Include team-based review requests
4444
$cmd -q && echo "reviews pending" Check if you have reviews pending
4545
4646
EXIT CODES:
@@ -338,7 +338,7 @@ main() {
338338
include_draft=true
339339
shift
340340
;;
341-
--include-team)
341+
--include-teams)
342342
include_team=true
343343
shift
344344
;;

0 commit comments

Comments
 (0)