CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 19 Jul 2025 19:23:37 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090423014621
location: https://web.archive.org/web/20090423014621/https://github.com/jsmits/github-cli/tree/master
server-timing: captures_list;dur=0.673980, exclusion.robots;dur=0.023530, exclusion.robots.policy;dur=0.010356, esindex;dur=0.018514, cdx.remote;dur=20.373384, LoadShardBlock;dur=298.828812, PetaboxLoader3.datanode;dur=57.224453, PetaboxLoader3.resolve;dur=93.464717
x-app-server: wwwb-app212
x-ts: 302
x-tr: 350
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app212; path=/
x-location: All
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: Sat, 19 Jul 2025 19:23:38 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Thu, 23 Apr 2009 01:46:21 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 427ms
x-archive-orig-etag: "4f956a2bc96633264daae30f42c0b762"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 22009
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 23 Apr 2009 01:46:21 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 23 Apr 2009 01:46:21 GMT", ; rel="memento"; datetime="Thu, 23 Apr 2009 01:46:21 GMT", ; rel="next memento"; datetime="Sat, 09 May 2009 19:33:38 GMT", ; rel="last memento"; datetime="Mon, 03 Feb 2020 21:51:20 GMT"
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: 52_9_20090422205930_crawl101-c/52_9_20090423014528_crawl101.arc.gz
server-timing: captures_list;dur=1.241396, exclusion.robots;dur=0.022343, exclusion.robots.policy;dur=0.010421, esindex;dur=0.012142, cdx.remote;dur=308.639353, LoadShardBlock;dur=229.058764, PetaboxLoader3.datanode;dur=372.123105, load_resource;dur=367.488807, PetaboxLoader3.resolve;dur=88.069365
x-app-server: wwwb-app212
x-ts: 200
x-tr: 988
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
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 GitHub's API. |
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)
Wed Apr 22 07:55:55 -0700 2009
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Wed Apr 22 07:55:40 -0700 2009 | added *.tmproj [Sander Smits] |
![]() |
LICENSE | Sun Apr 19 02:02:18 -0700 2009 | very small text update [Sander Smits] |
![]() |
README.rst | Tue Apr 21 03:48:55 -0700 2009 | implemented comment command; updated help and R... [Sander Smits] |
![]() |
setup.py | Sun Apr 19 01:23:15 -0700 2009 | first commit [Sander Smits] |
![]() |
src/ | Wed Apr 22 07:55:55 -0700 2009 | small text change [Sander Smits] |
GitHub API - command-line interface
about
for now, github-cli provides a script called gh-issues, 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
create a .ghrc file in your $HOME directory with the following entries:
login = <your github login name>
token = <your github token>
you can install github-cli by:
python setup.py install
or
sudo python setup.py install
a script called gh-issues will be installed in your system's bin/ directory
usage
from any directory that is part of a git working directory with an origin that is hosted on GitHub, you can do this:
command | info |
---|---|
gh-issues list [-s open|closed] | show all open (default) or closed issues |
gh-issues list -v [-s open|closed] | same as above, but with issue details |
gh-issues | same as: gh-issues list |
gh-issues -v | same as: gh-issues list -v |
gh-issues -v | less | pipe through less command |
gh-issues show <nr> | show issue <nr> |
gh-issues open | create a new issue |
gh-issues close <nr> | close issue <nr> |
gh-issues reopen <nr> | reopen issue <nr> |
gh-issues edit <nr> | edit issue <nr> |
gh-issues label add <label> <nr> | add <label> to issue <nr> |
gh-issues label remove <label> <nr> | remove <label> from issue <nr> |
gh-issues search <term> [-s open|closed] | search for all open (default) or closed issues containing <term> |
gh-issues search <term> [-s open|closed] -v | same as above, but with details |
gh-issues comment <nr> | create a comment for issue <nr> |
gh-issues -h | show help message |
This feature is coming soon. Sit tight!