list-repos

List repos for an owner locator or self

Auth

Authenticated Owner Scope

Example

ghit-cli list-repos
# or
# ghit-cli list-repos teams/platform
# or
# ghit-cli list-repos alice

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 repos for an owner locator or self

Usage: ghit-cli list-repos [OPTIONS] [OWNER]

Arguments:
  [OWNER]  Owner locator (`teams/<team_slug>` or `<username>`). Defaults to authenticated user

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