Skip to content
Urban is a command line tool that allows you to look up definitions or pull a random definition from Urban Dictionary.
Pull request Compare This branch is 123 commits behind tmiller:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
test
.gitignore
.travis.yml
Gemfile
LICENSE
README.rdoc
Rakefile
urban.gemspec

README.rdoc

Urban

https://secure.travis-ci.org/tmiller/urban.png

Urban is a command line tool that allows you to look up definitions or pull a random definition from Urban Dictionary.

Requirements

  • Ruby >= 1.8.6

Installation

With Rubygems:

$ sudo gem install urban

With git and local working copy

$ git clone git://github.com/tmiller/urban.git
$ cd urban
$ sudo rake install

Usage

1. Look up a definition

$ urban cookie monster

2. Random definition

$ urban -r

3. Print all definitons

$ urban -l cookie monster

4. Print help and version

$ urban --help
$ urban --version

To Do

  • Refactor cli.rb

  • Document with YARD

  • Print better looking output


Copyright © 2011 Thomas Miller. See LICENSE for details.

Something went wrong with that request. Please try again.