logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gcli api — Perform API Calls to Git Forges and retrieve results

Authors

       Nico Sonack aka. herrhotzenplotz <nsonack@herrhotzenplotz.de> and contributors.

Bugs

       Please report bugs via E-Mail to ~herrhotzenplotz/gcli-discuss@lists.sr.ht.

       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.

gcli 2.3.0                                         2024-May-25                                       GCLI-API(1)

Description

       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.

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

Name

       gcli api — Perform API Calls to Git Forges and retrieve results

Options

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

See Also

git(1), gcli(1)

Synopsis

gcli [-a] path

See Also