{"action":"opened","issue":{"url":"https://api.github.com/repos/ruby/rake/issues/81","labels_url":"https://api.github.com/repos/ruby/rake/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/ruby/rake/issues/81/comments","events_url":"https://api.github.com/repos/ruby/rake/issues/81/events","html_url":"https://github.com/ruby/rake/issues/81","id":113784912,"number":81,"title":"Support named task arguments","user":{"login":"jochenseeber","id":833236,"avatar_url":"https://avatars.githubusercontent.com/u/833236?v=3","gravatar_id":"","url":"https://api.github.com/users/jochenseeber","html_url":"https://github.com/jochenseeber","followers_url":"https://api.github.com/users/jochenseeber/followers","following_url":"https://api.github.com/users/jochenseeber/following{/other_user}","gists_url":"https://api.github.com/users/jochenseeber/gists{/gist_id}","starred_url":"https://api.github.com/users/jochenseeber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jochenseeber/subscriptions","organizations_url":"https://api.github.com/users/jochenseeber/orgs","repos_url":"https://api.github.com/users/jochenseeber/repos","events_url":"https://api.github.com/users/jochenseeber/events{/privacy}","received_events_url":"https://api.github.com/users/jochenseeber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-28T10:14:20Z","updated_at":"2015-10-28T10:14:20Z","closed_at":null,"body":"When creating tasks that take multiple optional arguments, specifying parameters becomes tedious.\r\n\r\nWhen calling the following task\r\n\r\n    task :test, [:database, :table, :column, :host, ;port, :user, :password] do\r\n        # Something\r\n    end\r\n\r\nand specifying only parameter `user`, I have to count its position and call rake as follows:\r\n\r\n    rake 'test[,,,,,testuser,]'\r\n\r\nI suggest supporting a syntax using named parameters that makes calling these tasks easier and more readable, e.g.\r\n\r\n    rake 'test{user:testuser}'\r\n\r\nI'd like to put this up for discussion, if it is acceptable, I'm willing to create a pull request."}}