Ruby gem for http://lmgtfy.com/ - command line tool for http://lmgtfy.com/
Ruby Shell
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
spec
.gitignore
.rspec
.ruby-gemset
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
LICENSE.txt
README.md
Rakefile
ci.sh
lmgtfy.gemspec

README.md

lmgtfy-gem

Ruby gem for http://lmgtfy.com/ - command line tool for http://lmgtfy.com/

Gem Version

Status

Build Status

Coverage

Coverage Status

Installation

Add this line to your application's Gemfile:

gem 'lmgtfy'

And then execute:

$ bundle

Or install it yourself as:

$ gem install lmgtfy

Usage

Pass a query string to lmgtfy from command line as follows

$ lmgtfy lmgtfy
  lmgtfy_url => http://lmgtfy.com/?q=lmgtfy
  short_url  => http://is.gd/6e69CQ

$ http://lmgtfy.com/?q=test

Use the output url anywhere you want

Features

Get original as well as shortened lmgtfy URL for your query from command line

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request