outoftime / rake_server

Client/server architecture for invoking and running Rake tasks
35 stars 2 forks source link

Task with args #2

Open florentsolt opened 12 years ago

florentsolt commented 12 years ago

Can you support tasks with arguments ?

Instead of Rake.application[task.to_sym] on the server, use Rake.application.parse_task_string to extract the task name. Then, when invoking the task, pass them to task.invoke