Skip to content
Thor is a toolkit for building powerful command-line interfaces.
Branch: master
Clone or download
rafaelfranca Merge pull request #641 from y-yagi/fix_deprecated_warning
Fix "warning: deprecated Object#=~ is called on Integer"
Latest commit 04d7560 Mar 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Consistently use double-quotes Mar 22, 2014
lib Fix "warning: deprecated Object#=~ is called on Integer" Dec 7, 2018
spec Fix #587 Nov 13, 2018
.document Added a .document file so additional files will show up on rubydoc.info. Nov 20, 2011
.gitignore Merge pull request #528 from lingceng/master Feb 13, 2017
.rspec Run specs with $VERBOSE = true Dec 30, 2013
.rubocop.yml
.travis.yml Add workaround for ruby 2.5.5 Mar 27, 2019
CHANGELOG.md Fix typo [ci skip] Nov 12, 2018
CONTRIBUTING.md Cleanup EOL whitespace Mar 7, 2015
Gemfile Add care about old version of `did_you_mean` Nov 10, 2018
LICENSE.md Automatically create aliases for unambiguous substrings of commands Aug 28, 2011
README.md Add open-uri reference Jul 5, 2018
Thorfile Run command with bundle exec Nov 10, 2018
thor.gemspec Allow testing with bundler 2 Mar 27, 2019

README.md

Thor

Gem Version Build Status Code Climate Coverage Status

Description

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.

Please note: Thor, by design, is a system tool created to allow seamless file and url access, which should not receive application user input. It relies on open-uri, which combined with application user input would provide a command injection attack vector.

Installation

gem install thor

Usage and documentation

Please see the wiki for basic usage and other documentation on using Thor. You can also checkout the official homepage.

Contributing

If you would like to help, please read the CONTRIBUTING file for suggestions.

License

Released under the MIT License. See the LICENSE file for further details.

You can’t perform that action at this time.