Tips for writing Rails tasks with Thor instead of Rake
Tips for writing Rails tasks with Thor instead of Rake –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.