Move over Rake, Thor is the new King

A task runner is a way to reach into an application and execute a piece of code from the outside. This means you can invoke something from the terminal instead of having to open a REPL or in our case a Rails console to invoke a task.Why do this? There could be thousands of classes, all with different ways to invoke them. The task runner acts as a facade and only exposes what is needed to perform a specific task in isolation. Its main responsiblities are handing user input, formatting program output, and handling any options parsing.
Move over Rake, Thor is the new King #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/move-over-rake-thor-is-the-new-king

Nezir Zahirovic

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

related articles