padrino gen task bad argument parsing #2163
Do you want to request a feature or report a bug?
What is the current behavior?
$> padrino gen task -n main -d "Just a test task" test create tasks/main_a.rake
Generated file has wrong name and description:
namespace :main do desc "Just" task :a => :environment do # This is a custom task. end end
What is the expected behavior?
Having this file the following content:
namespace :main do desc "Just a test task" task :test => :environment do # This is a custom task. end end
Which versions of Ruby, Padrino, Sinatra, Rack, OS are you using? Did this work in previous versions?
But never worked.
The text was updated successfully, but these errors were encountered: