list-pulls

List pulls targeting a repo

Auth

Authenticated

Example

ghit-cli list-pulls website --status open --page 1 --per-page 50

Expected Response

Prints a paginated JSON response from the API.

Errors

  • 404 Not Found when the referenced resource does not exist.
  • 403 Forbidden when owner/repo access checks fail.

Common auth errors are documented on the CLI overview page.

Help Output

List pulls targeting a repo

Usage: ghit-cli list-pulls [OPTIONS] <REPO>

Arguments:
  <REPO>  Target repo locator (`teams/<team_slug>/<repo_slug>` or `<username>/<repo_slug>`), or `<repo_slug>` for authenticated user

Options:
      --page <PAGE>          Page number (1-based)
      --per-page <PER_PAGE>  Results per page
      --status <STATUS>      Optional status filter [possible values: open, draft, closed, merged]
  -h, --help                 Print help