Tips for writing Rails tasks with Thor instead of Rake

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 https://rubyonrails.ba/single/tips-for-writing-rails-tasks-with-thor-instead-of-rake

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles