Permalink
Browse files

Update README, fix typo.

  • Loading branch information...
1 parent 70123f4 commit 153ad81ee9e5949094017794cc21533f8b9a7d5a @stephencelis committed Apr 23, 2009
Showing with 35 additions and 5 deletions.
  1. +8 −0 History.rdoc
  2. +23 −1 README.rdoc
  3. +2 −2 ghi.gemspec
  4. +1 −1 lib/ghi.rb
  5. +1 −1 lib/ghi/cli.rb
View
@@ -1,3 +1,11 @@
+=== 0.0.3 / 2009-04-23
+
+* 2 minor enhancements
+
+ * Typo corrected.
+ * README updated.
+
+
=== 0.0.2 / 2009-04-22
* 1 major enhancement
View
@@ -22,7 +22,29 @@ Go:
% ghi
Usage: ghi [options]
- -l, --list, --show [number]
+ -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"
View
@@ -2,11 +2,11 @@
Gem::Specification.new do |s|
s.name = %q{ghi}
- s.version = "0.0.2"
+ s.version = "0.0.3"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Stephen Celis"]
- s.date = %q{2009-04-21}
+ s.date = %q{2009-04-22}
s.default_executable = %q{ghi}
s.description = %q{GitHub Issues on the command line. Use your `$EDITOR`, not your browser.}
s.email = ["stephen@stephencelis.com"]
View
@@ -1,5 +1,5 @@
module GHI
- VERSION = "0.0.2"
+ VERSION = "0.0.3"
def self.login
`git config --get github.user`.chomp
View
@@ -63,7 +63,7 @@ def option_parser
when /^\d+$/
@action = :reopen
@number = v.to_i
- when /^l/, nil
+ when /^l$/
@action = :list
@state = :open
else

0 comments on commit 153ad81

Please sign in to comment.