| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Mon, 22 Dec 2025 13:31:45 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090509193338
location: https://web.archive.org/web/20090509193338/https://github.com/jsmits/github-cli/tree/master
server-timing: captures_list;dur=0.885960, exclusion.robots;dur=0.085457, exclusion.robots.policy;dur=0.066770, esindex;dur=0.015059, cdx.remote;dur=25.973551, LoadShardBlock;dur=335.232084, PetaboxLoader3.datanode;dur=210.293641, PetaboxLoader3.resolve;dur=27.578658
x-app-server: wwwb-app210-dc8
x-ts: 302
x-tr: 425
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app210; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Mon, 22 Dec 2025 13:31:46 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Sat, 09 May 2009 19:33:37 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 187ms
x-archive-orig-etag: "7a080d8cd7a20c7d2fa1f7ed59c7e276"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 24157
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 09 May 2009 19:33:38 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_9_20090509102249_crawl103-c/51_9_20090509193328_crawl101.arc.gz
server-timing: captures_list;dur=0.586783, exclusion.robots;dur=0.020464, exclusion.robots.policy;dur=0.009077, esindex;dur=0.012271, cdx.remote;dur=8.598389, LoadShardBlock;dur=110.468958, PetaboxLoader3.datanode;dur=136.826915, PetaboxLoader3.resolve;dur=115.347254, load_resource;dur=170.985956
x-app-server: wwwb-app210-dc8
x-ts: 200
x-tr: 354
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
jsmits's github-cli at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| Description: | A command-line interface to the GitHub Issues API v2. |
| Homepage: | https://jsmits.github.com/github-cli |
| Clone URL: |
git://github.com/jsmits/github-cli.git
Give this clone URL to anyone.
git clone git://github.com/jsmits/github-cli.git
|
Sander Smits (author)
Sat May 09 01:03:54 -0700 2009
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri May 08 01:30:51 -0700 2009 | added .coverage produced by nosetests --with-co... [Sander Smits] |
| |
LICENSE.txt | Tue Apr 28 12:08:39 -0700 2009 | added `txt` extension [Sander Smits] |
| |
README.rst | Fri May 08 10:11:58 -0700 2009 | `github-cli` link now refers to gh-pages url [Sander Smits] |
| |
docs/ | Fri May 08 10:10:49 -0700 2009 | renamed to full name [Sander Smits] |
| |
setup.cfg | Fri May 08 01:35:17 -0700 2009 | added `testc` alias for running nose tests with... [Sander Smits] |
| |
setup.py | Sat May 09 01:03:54 -0700 2009 | fixed a bug in `pip` and `easy_install` install... [Sander Smits] |
| |
src/ | Fri May 08 10:14:11 -0700 2009 | title and body width is now 79 columns, at most [Sander Smits] |
| |
tests/ | Mon May 04 11:34:32 -0700 2009 | improved testing by using `nose` [Sander Smits] |
GitHub Issues API v2 - command-line interface
about
github-cli provides a script called ghi, that can be used to access all of GitHub's documented Issues API (v2) functionality from your command-line
github-cli is written in Python
installation
pip
sudo pip install github-cli
easy_install
sudo easy_install github-cli
from source
sudo pip install -e git://github.com/jsmits/github-cli.git#egg=github-cli
or
git clone git://github.com/jsmits/github-cli.git cd github-cli python setup.py build sudo python setup.py install
the ghi executable will be installed into a system bin directory
configuration
make sure your GitHub username and API token are added to the global git config:
git config --global github.user <your GitHub username> git config --global github.token <your GitHub API token>
you can find the username and API token on your GitHub's account page
usage
inside a git working directory with an origin that is hosted on GitHub, you can do this (note: with the -r option, commands can be invoked from anywhere):
(github-cli)[jsmits@imac:~]$ ghi --help
Usage: ghi command [args] [options]
Examples:
ghi list [-s open|closed|all] show open, closed or all issues
(default: open)
ghi [-s o|c|a] -v same as above, but with issue details
ghi same as: ghi list
ghi -v same as: ghi list -v
ghi [-s o|c] -w show issues' GitHub page in web browser
(default: open)
ghi show <nr> show issue <nr>
ghi <nr> same as: ghi show <nr>
ghi <nr> -w show issue <nr>'s GitHub page in web
browser
ghi open (o) create a new issue (with $EDITOR)
ghi close (c) <nr> close issue <nr>
ghi open (o) <nr> reopen issue <nr>
ghi edit (e) <nr> edit issue <nr> (with $EDITOR)
ghi label add (al) <label> <nr> add <label> to issue <nr>
ghi label remove (rl) <label> <nr> remove <label> from issue <nr>
ghi search (s) <term> search for <term> (default: open)
ghi s <term> [-s o|c] -v same as above, but with details
ghi s <term> -s closed only search in closed issues
ghi comment (m) <nr> create a comment for issue <nr>
(with $EDITOR)
ghi -r <user>/<repo> specify a repository (can be used for
all commands)
ghi -r <repo> specify a repository (gets user from
global git config)
Description: command-line interface to GitHub's Issues API (v2)
Options:
-h, --help show this help message and exit
-v, --verbose show issue details (only for list and search commands)
[default: False]
-s STATE, --state=STATE
specify state (only for list and search (except `all`)
commands) choices are: open (o), closed (c), all (a)
[default: open]
-r REPO, --repo=REPO, --repository=REPO
specify a repository (format: `user/repo` or just
`repo` (latter will get the user from the global git
config))
-w, --web, --webbrowser
show issue(s) GitHub page in web browser (only for
list and show commands) [default: False]
This feature is coming soon. Sit tight!







