python command-line interface for GitHub Issues v2

Discussion in 'Python' started by SanPy, Apr 29, 2009.

  1. SanPy

    SanPy Guest

    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
    SanPy, Apr 29, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Berg
    Replies:
    0
    Views:
    249
    Andrew Berg
    Jun 24, 2012
  2. Chris Angelico
    Replies:
    0
    Views:
    249
    Chris Angelico
    Jun 24, 2012
  3. Chris Angelico
    Replies:
    0
    Views:
    243
    Chris Angelico
    Jun 24, 2012
  4. Stefan Behnel
    Replies:
    0
    Views:
    226
    Stefan Behnel
    Jun 24, 2012
  5. Peter Otten
    Replies:
    0
    Views:
    224
    Peter Otten
    Jun 24, 2012
Loading...

Share This Page