Tips for writing Rails tasks with Thor instead of Rake

Uncategorized

Tips for writing Rails tasks with Thor instead of Rake

URL: https://mattbrictson.com/blog/rails-tasks-with-thor
Type: article
Domain: mattbrictson.com

Excerpt: Thor is a great way to write simple CLIs like one-off Rails scripts, but it does have its own gotchas. Here’s how to use Thor in practice.

Notes:
They say it’s an alternative to rake. But I see it more as a nice Ruby cli builder.