How do I make a command-line tool in Ruby?

Submitted by Christoph Olszowka 2011-01-04 11:21:26 UTC
Source:  http://rubylearning.com/blog/2011/01/03/how-do-i-make-a-command-line-tool-in-ruby/

Referenced projects

Thor

Thor is a toolkit for building powerful command-line interfaces.

Rubygem thor

Total Downloads
41654561
Releases
40
Current Version
0.19.0
Released
2014-03-22 00:00:00 UTC
First Release
2008-05-13 07:00:00 UTC

Github wycats/thor

Watchers
1732
Forks
221
Development activity
Less active
Last commit
2013-05-12 01:40:33 UTC
Contributors
86
Issues
Wiki pages
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.