Can I add issues to github from the command line?

Jonathan picture Jonathan · Jun 12, 2012 · Viewed 22.1k times · Source

I'm new to git and I'd like to be able to map plans and progress for my project through github.

The problem is, that requires lots of clicking around with a browser on github.com, and I'd like to be able to automate the task somewhat by using a command line program.

Is there a command line interface for github?

Answer

bdukes picture bdukes · Jun 12, 2012

There's a ghi gem that you can use to manage issues.

The most commonly used ghi commands are:
   list        List your issues (or a repository's)
   show        Show an issue's details
   open        Open (or reopen) an issue
   close       Close an issue
   edit        Modify an existing issue
   comment     Leave a comment on an issue
   label       Create, list, modify, or delete labels
   assign      Assign an issue to yourself (or someone else)
   milestone   Manage project milestones