{"action":"created","issue":{"url":"https://api.github.com/repos/google/grinder.dart/issues/175","labels_url":"https://api.github.com/repos/google/grinder.dart/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/google/grinder.dart/issues/175/comments","events_url":"https://api.github.com/repos/google/grinder.dart/issues/175/events","html_url":"https://github.com/google/grinder.dart/issues/175","id":68491880,"number":175,"title":"How do I access the command-line args in a task?","user":{"login":"sethladd","id":5479,"avatar_url":"https://avatars.githubusercontent.com/u/5479?v=3","gravatar_id":"","url":"https://api.github.com/users/sethladd","html_url":"https://github.com/sethladd","followers_url":"https://api.github.com/users/sethladd/followers","following_url":"https://api.github.com/users/sethladd/following{/other_user}","gists_url":"https://api.github.com/users/sethladd/gists{/gist_id}","starred_url":"https://api.github.com/users/sethladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethladd/subscriptions","organizations_url":"https://api.github.com/users/sethladd/orgs","repos_url":"https://api.github.com/users/sethladd/repos","events_url":"https://api.github.com/users/sethladd/events{/privacy}","received_events_url":"https://api.github.com/users/sethladd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/grinder.dart/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/google/grinder.dart/milestones/5","html_url":"https://github.com/google/grinder.dart/milestones/0.7.1","labels_url":"https://api.github.com/repos/google/grinder.dart/milestones/5/labels","id":1071529,"number":5,"title":"0.7.1","description":"","creator":{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars.githubusercontent.com/u/1269969?v=3","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":0,"state":"open","created_at":"2015-04-17T00:34:26Z","updated_at":"2015-04-20T16:00:20Z","due_on":"2015-04-30T07:00:00Z","closed_at":null},"comments":10,"created_at":"2015-04-14T20:44:16Z","updated_at":"2015-04-22T04:29:07Z","closed_at":null,"body":"context doesn't seem to have it.\r\n\r\nuse case: I want to run something like `grind bumpversion minor` or `grind bumpversion plus` and automate the steps to bump a version"},"comment":{"url":"https://api.github.com/repos/google/grinder.dart/issues/comments/95030401","html_url":"https://github.com/google/grinder.dart/issues/175#issuecomment-95030401","issue_url":"https://api.github.com/repos/google/grinder.dart/issues/175","id":95030401,"user":{"login":"sethladd","id":5479,"avatar_url":"https://avatars.githubusercontent.com/u/5479?v=3","gravatar_id":"","url":"https://api.github.com/users/sethladd","html_url":"https://github.com/sethladd","followers_url":"https://api.github.com/users/sethladd/followers","following_url":"https://api.github.com/users/sethladd/following{/other_user}","gists_url":"https://api.github.com/users/sethladd/gists{/gist_id}","starred_url":"https://api.github.com/users/sethladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethladd/subscriptions","organizations_url":"https://api.github.com/users/sethladd/orgs","repos_url":"https://api.github.com/users/sethladd/repos","events_url":"https://api.github.com/users/sethladd/events{/privacy}","received_events_url":"https://api.github.com/users/sethladd/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T04:29:07Z","updated_at":"2015-04-22T04:29:07Z","body":"Now that 0.7.0 is out, I'd like to re-open. My use case is, I had a single task that wanted to take an argument. The workaround was to create two differently named tasks. In the old syntax:\r\n\r\n```\r\ntaskBumpMajor() { bump(major); }\r\n\r\ntaskBumpMinor() { bump(minor); }\r\n```\r\n\r\nBut of course, I can't deal with more than one arg to a task, unless I want an explosion of task names :)\r\n\r\nSo, I'd like to be able to call a task and somehow pass it args for more specialized behavior, from the command line.\r\n\r\nThanks!"}}