|
Server IP : 161.35.85.9 / Your IP : 216.73.217.134 Web Server : nginx/1.30.1 System : Linux cheapdeb-ams3 7.0.9+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 7.0.9-1 (2026-05-22) x86_64 User : root ( 0) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/doc/ruby-thor/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
Thor
====
[][gem]
[gem]: https://rubygems.org/gems/thor
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][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][open-uri],
which, combined with application user input, would provide a command injection attack
vector.
[rake]: https://github.com/ruby/rake
[open-uri]: https://ruby-doc.org/stdlib-2.5.1/libdoc/open-uri/rdoc/index.html
Installation
------------
gem install thor
Usage and documentation
-----------------------
Please see the [wiki][] for basic usage and other documentation on using Thor.
[wiki]: https://github.com/rails/thor/wiki
Contributing
------------
If you would like to help, please read the [CONTRIBUTING][] file for suggestions.
[contributing]: CONTRIBUTING.md
License
-------
Released under the MIT License. See the [LICENSE][] file for further details.
[license]: LICENSE.md