{"action":"created","issue":{"url":"https://api.github.com/repos/gruntjs/grunt/issues/1246","labels_url":"https://api.github.com/repos/gruntjs/grunt/issues/1246/labels{/name}","comments_url":"https://api.github.com/repos/gruntjs/grunt/issues/1246/comments","events_url":"https://api.github.com/repos/gruntjs/grunt/issues/1246/events","html_url":"https://github.com/gruntjs/grunt/issues/1246","id":47555000,"number":1246,"title":"grunt.aliasTask - any interest?","user":{"login":"mattkime","id":216176,"avatar_url":"https://avatars.githubusercontent.com/u/216176?v=3","gravatar_id":"","url":"https://api.github.com/users/mattkime","html_url":"https://github.com/mattkime","followers_url":"https://api.github.com/users/mattkime/followers","following_url":"https://api.github.com/users/mattkime/following{/other_user}","gists_url":"https://api.github.com/users/mattkime/gists{/gist_id}","starred_url":"https://api.github.com/users/mattkime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattkime/subscriptions","organizations_url":"https://api.github.com/users/mattkime/orgs","repos_url":"https://api.github.com/users/mattkime/repos","events_url":"https://api.github.com/users/mattkime/events{/privacy}","received_events_url":"https://api.github.com/users/mattkime/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-11-03T00:29:01Z","updated_at":"2015-03-04T17:36:45Z","closed_at":null,"body":"Idea - there should be functionality for aliasing task names. \r\n\r\n---\r\n\r\nthis is something i've built myself that i thought others may find useful as well. \r\n\r\n```\r\n     var aliasTask = function( orgTask ){\r\n         return function(){\r\n             var task = orgTask,\r\n                 i, j;\r\n\r\n             for (i = 0, j = arguments.length; i < j; i++){\r\n                 task += \":\" + arguments[i];\r\n             }\r\n\r\n             grunt.task.run( task );\r\n         };\r\n     };\r\n```\r\n\r\nusage\r\n```\r\ngrunt.registerTask( 'style', aliasTask('css') );\r\n```\r\n\r\nproposal (that would do the same thing)\r\n```\r\ngrunt.aliasTask('orginalTask','aliasName')\r\n```\r\n\r\nI work on a large team of developers, we have a complex build - a little flexibility can be very helpful.\r\n\r\nthoughts?"},"comment":{"url":"https://api.github.com/repos/gruntjs/grunt/issues/comments/77205552","html_url":"https://github.com/gruntjs/grunt/issues/1246#issuecomment-77205552","issue_url":"https://api.github.com/repos/gruntjs/grunt/issues/1246","id":77205552,"user":{"login":"phietrt","id":11317983,"avatar_url":"https://avatars.githubusercontent.com/u/11317983?v=3","gravatar_id":"","url":"https://api.github.com/users/phietrt","html_url":"https://github.com/phietrt","followers_url":"https://api.github.com/users/phietrt/followers","following_url":"https://api.github.com/users/phietrt/following{/other_user}","gists_url":"https://api.github.com/users/phietrt/gists{/gist_id}","starred_url":"https://api.github.com/users/phietrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phietrt/subscriptions","organizations_url":"https://api.github.com/users/phietrt/orgs","repos_url":"https://api.github.com/users/phietrt/repos","events_url":"https://api.github.com/users/phietrt/events{/privacy}","received_events_url":"https://api.github.com/users/phietrt/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T17:36:45Z","updated_at":"2015-03-04T17:36:45Z","body":"Only seem to add complexity with few use cases."}}