Can I add issues to github from the command line?

21,971

Solution 1

You could check out this cli for the Github issues API. Note this is specific to Github Issues only.

Hope this helps.

[edit] The original answer mentioned this application which doesn't function anymore and recommends ghi.

Solution 2

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

Solution 3

With Github's new official CLI (command line interface):

gh issue create --title "How to create an issue?" --body "I need a github CLI"

See additional details and options and installation instructions.

Solution 4

There is a github_cli gem that I'm working on that provides command line access to the entire GitHub API v3. Please give it a try and report any issue/thoughts/feature requests.

Solution 5

NodeGH - Github command line tools. Let's you create new issue, comment, open or close. You can find all the commands available at their Github repo.

Share:
21,971
Jonathan
Author by

Jonathan

Updated on September 18, 2020

Comments

  • Jonathan
    Jonathan over 3 years

    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?