List pull requests for a repository with pagination support:
frankie --owner octocat --repo hello-world --token ghp_example
--owner(or-o) specifies the repository owner (user or organization).--repo(or-r) specifies the repository name.- Both
--ownerand--repomust be provided together. - The listing displays up to 50 PRs per page with pagination controls.
Listing output
A successful call prints a listing summary:
Pull requests for octocat/hello-world:
#42 [open] Add new feature (@alice)
#41 [closed] Fix bug in parser (@bob)
#40 [open] Update documentation (@alice)
...
Page 1 of 3 (50 PRs shown)
More pages available.
Pagination
The repository listing displays 50 PRs per page by default. Pagination information shows the current page, total pages, and whether more pages are available.
Rate limiting
Frankie handles GitHub API rate limits gracefully:
- Rate limit errors (HTTP 403 with rate limit message) are surfaced as clear error messages rather than panics.
- The error includes information about when the rate limit resets, if available.