Skip to content This repository  Thor is a toolkit for building
powerful command-line interfaces.  Fetching latest commit…
Cannot retrieve the latest commit at this time  Octocat-
spinner-32 bin Octocat-spinner-32 lib Octocat-spinner-32 spec
Octocat-spinner-32 .autotest Octocat-spinner-32 .gitignore
Octocat-spinner-32 CHANGELOG.rdoc Octocat-spinner-32 LICENSE
Octocat-spinner-32 Thorfile Octocat-spinner-32 thor.gemspec
Thor is a simple and efficient tool for building self-
documenting command line utilities. It removes the pain of
parsing command line options, writing "USAGE:" banners, and can
also be used as an alternative to the Rake build tool. The
syntax is Rake-like, so it should be familiar to most Rake
users.   $ gem install thor   $ gem install wycats-thor -s   Map
options to a class. Simply create a class with the appropriate
annotations and have options automatically map to functions and
parameters.   class App < Thor
# [1]   map "-L" => :list