adtk pull-requests
The pull-requests command group (aliases: pr, prs) lets you list, inspect, and review pull requests.
Shared Flags
Section titled “Shared Flags”| Flag | Short | Description |
|---|---|---|
--project | -p | Project name |
List pull requests for a repository.
adtk pull-requests list <repo> [--project myproject] [--status active] [--top 25]| Flag | Default | Description |
|---|---|---|
--status | active | Filter by status: active, completed, abandoned, all |
--top | 25 | Max results to return |
Example:
adtk pr list backend-api -p MyProject --status activeID TITLE STATUS SOURCE TARGET AUTHOR101 Add user authentication active refs/heads/feature/auth refs/heads/main Jane Doe102 Fix database connection pooling active refs/heads/fix/db-pool refs/heads/main John Smith
2 pull requestsGet detailed information about a specific pull request.
adtk pull-requests get <repo> <pr-id> [--project myproject]Example:
adtk pr get backend-api 101 -p MyProject ID: 101 Title: Add user authentication Status: active Source: refs/heads/feature/auth Target: refs/heads/main Author: Jane Doe Created: 2025-01-15 10:30 Draft: no Merge Status: succeeded
Implements OAuth2 login flow with refresh token support.reviewers
Section titled “reviewers”List reviewers on a pull request with their vote status.
adtk pull-requests reviewers <repo> <pr-id> [--project myproject]Example:
adtk pr reviewers backend-api 101 -p MyProjectNAME VOTE REQUIREDJohn Smith Approved yesAlice Johnson Approved with suggestions noBob Wilson No vote no