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. Advertisements

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. Lucas Cowald
    Replies:
    4
    Views:
    1,407
    Tohid
    Oct 23, 2003
  2. Bernd Oninger
    Replies:
    1
    Views:
    999
    Martin Honnen
    Jul 7, 2004
  3. Replies:
    4
    Views:
    2,089
    Terry Hancock
    Apr 23, 2005
  4. David Wilson

    IOS-style command line interface module?

    David Wilson, Mar 12, 2006, in forum: Python
    Replies:
    3
    Views:
    521
    David Wilson
    Mar 13, 2006
  5. Walter Roberson

    Command Line Interface (CLI): your recommendations

    Walter Roberson, Feb 11, 2006, in forum: C Programming
    Replies:
    34
    Views:
    992
    RSoIsCaIrLiIoA
    Feb 20, 2006
  6. Dhruv
    Replies:
    0
    Views:
    562
    Dhruv
    Apr 4, 2009
  7. kylichuku
    Replies:
    1
    Views:
    118
    ara.t.howard
    Nov 10, 2008
  8. Mark Lawrence

    Can I use Python 3 - script on github

    Mark Lawrence, Feb 19, 2014, in forum: Python
    Replies:
    0
    Views:
    96
    Mark Lawrence
    Feb 19, 2014
Loading...