Skip to content

rails/thor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

44c4cac · Mar 11, 2025
Oct 18, 2023
Mar 11, 2025
Mar 22, 2014
Sep 17, 2024
Oct 30, 2024
Nov 20, 2011
Jun 16, 2022
Dec 30, 2013
May 11, 2023
Mar 7, 2015
Mar 11, 2025
Aug 28, 2011
Jun 5, 2024
Nov 10, 2018
May 11, 2023

Repository files navigation

Thor

Gem Version

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 check out 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.