python command-line interface for GitHub Issues v2

S

SanPy

Hi,

For those of you that are using GitHub, you might want to check out a
package that
I've written in Python. It is a command-line interface to the recently
released GitHub Issues API v2.

You can find it here:
http://github.com/jsmits/github-cli

Here are some examples of what you can do:
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 -v | less # pipe through less command
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 # create a new issue (with
$EDITOR)
ghi close <nr> # close issue <nr>
ghi reopen <nr> # reopen issue <nr>
ghi edit <nr> # edit issue <nr> (with $EDITOR)
ghi label add <label> <nr> # add <label> to issue <nr>
ghi label remove <label> <nr> # remove <label> from issue <nr>
ghi search <term> [-s open|closed] # search for <term> in open or
closed issues (default: open)
ghi search <term> [-s o|c] -v # same as above, but with
details
ghi comment <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)

Regards,
Sander Smits
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,054
Latest member
LucyCarper

Latest Threads

Top