list-teams

List teams (staff only)

Auth

Staff

Example

ghit-cli list-teams --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 teams (staff only)

Usage: ghit-cli list-teams [OPTIONS]

Options:
      --page <PAGE>          Page number (1-based)
      --per-page <PER_PAGE>  Results per page
  -h, --help                 Print help