RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Using thor for command line tasks

Most ruby developers rely on rake for command line tasks, but there is a tool called thor, developed by the Rails Core team, which is better suited in many cases, for instance, if you need to deal with command line arguments. I wrote a short article explaining how to do that:

https://greg.molnar.io/blog/rails-tricks-issue-23/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in