{% extends "docs/base.html" %} {% block docs_content %}

list-forks

List forks of a repo

Auth

Authenticated

Example

pearing-cli list-forks website --page 1 --per-page 50
# or
# pearing-cli list-forks teams/platform/website --page 1 --per-page 50

Expected Response

Prints a paginated JSON response from the API.

Errors

Common auth errors are documented on the CLI overview page.

Help Output

List forks of a repo.

Usage: pearing-cli list-forks [OPTIONS] <REPO>

Arguments:
  <REPO>  Upstream 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
  -h, --help                 Print help (see more with '--help')
{% endblock %}