Imitate go-search
rubygems.org via the command-line.
$ go get github.com/yunshang/gem-search
- Help text:
$ gem-search --help Usage: gem-search <query>... [--top] [--count n] [--open] gem-search -h | --help gem-search --version Options: -n, --count n number of results [default: 5] -o, --open open rubygems.org search results in default browser -h, --help output help information -v, --version output version
- Examples:
$ gme-search rails rails https://github.com/rails/rails Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration. jquery-rails https://github.com/rails/jquery-rails This gem provides jQuery and the jQuery-ujs driver for your Rails 4+ application.
$ gem-search -o rails # opens rubygems.org search results in default browser