Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
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.