gcli-api(1)

gcli-api1

Perform api calls to git forges and retrieve results

Usage

gcli [-a] path

Overview

The gcli is used to debug API calls. It will autodetect the current forge and perform a request to its REST API. The response is printed to stdout. The API base URL is automatically prepended to the given path.

Options

-a, --all

Fetch all pages of data (follow the pagination link).

Examples

Fetch all pages of data from the issues endpoint of the gcli project. Dump the data into /tmp/foo and be verbose. This will print the queries that are performed to stderr:

$ gcli -v api -a /projects/herrhotzenplotz%2Fgcli/issues >/tmp/foo

Authors

Nico Sonack aka. herrhotzenplotz ⟨[email protected]⟩ and contributors.

Bugs

Please report bugs via E-Mail to ~herrhotzenplotz/[email protected].

Alternatively you can report them on any of the forges linked at https://herrhotzenplotz.de/gcli. However, the preferred and quickest method is to use the mailing list.

From gcli 2.3.0-1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.