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.
Thor alternatives and similar gems
Based on the "CLI Builder" category.
Alternatively, view Thor alternatives based on common mentions on social networks and blogs.
-
Main
a class factory and dsl for generating command line programs real quick -
Trollop
Optimist is a commandline option parser for Ruby that just gets out of your way. -
ScriptCore
A script engine powered by mruby sandboxie, It's a fork of Shopify's ESS. -
command_kit
A Ruby toolkit for building complete and robust CLI commands.
Access the most powerful time series database as a service
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Thor or a related project?
Popular Comparisons
README
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 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.
*Note that all licence references and agreements mentioned in the Thor README section above
are relevant to that project's source code only.