stephencelis / ghi

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

This URL has Read+Write access

ghi /
name age message
file .gitignore Tue Apr 21 21:43:32 -0700 2009 The basics. [stephencelis]
file History.rdoc Loading commit data...
file MIT-LICENSE Tue Apr 21 21:43:32 -0700 2009 The basics. [stephencelis]
file Manifest.txt Tue Apr 21 21:43:32 -0700 2009 The basics. [stephencelis]
file README.rdoc
directory bin/
file ghi.gemspec
directory lib/
directory spec/
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"