Tips for writing Rails tasks with Thor instead of Rake
23-Jun-2023 635
Before diving into Thor, it’s worth reviewing Rake’s shortcomings as a CLI-builder. Long-story short:Accepting command-line arguments in a Rake task is awkward and conflicts with zsh.
Tips for writing Rails tasks with Thor instead of Rake #ruby #rubydeveloper #rubyonrails #writing #Rails #tasks #instead #of Rake https://rubyonrails.ba/link/tips-for-writing-rails-tasks-with-thor-instead-of-rake