Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
GitHub Issues on the command line. Use your $EDITOR, not your browser.
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
.gitignore
History.rdoc
MIT-LICENSE
Manifest.txt
README.rdoc
ghi.gemspec

README.rdoc

ghi

github.com/stephencelis/ghi

GitHub Issues on the command line. Use your `$EDITOR`, not your browser.

HOW?

Get:

% gem install stephencelis-ghi --source=http://gems.github.com

Set (github.com/blog/180-local-github-config):

% git config --global github.user username
% git config --global github.token 6ef8395fecf207165f1a82178ae1b984

Go:

% ghi
Usage: ghi [options]
    -l, --list [state|term|number]
        --search, --show
    -o, --open, --reopen [number]
    -c, --closed, --close [number]
    -e, --edit [number]
    -r, --repo, --repository [name]

EXAMPLE?

`ghi` works simply from within the directory. Some short examples:

ghi -l                # Lists all open issues
ghi -lc               # Lists all closed issues
ghi -l "doesn't work" # Searches for all open issues matching "doesn't work"
ghi -l invalid -c     # Searches for all closed issues matching "invalid"
ghi -o                # Opens a new issue (in your $EDITOR)
ghi -e1               # Edits issue number 1 (in your $EDITOR)
ghi -c1               # Closes issue 1
ghi -o1               # Reopens 1

`ghi` also works anywhere:

ghi -rghi -l              # Your fork of "ghi"
ghi -rstephencelis/ghi -l # Mine: "stephencelis/ghi"
Something went wrong with that request. Please try again.