{"action":"created","issue":{"url":"https://api.github.com/repos/deployphp/deployer/issues/377","labels_url":"https://api.github.com/repos/deployphp/deployer/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/deployphp/deployer/issues/377/comments","events_url":"https://api.github.com/repos/deployphp/deployer/issues/377/events","html_url":"https://github.com/deployphp/deployer/issues/377","id":90619634,"number":377,"title":"Inability to get currently executed stage.","user":{"login":"naquad","id":20373,"avatar_url":"https://avatars.githubusercontent.com/u/20373?v=3","gravatar_id":"","url":"https://api.github.com/users/naquad","html_url":"https://github.com/naquad","followers_url":"https://api.github.com/users/naquad/followers","following_url":"https://api.github.com/users/naquad/following{/other_user}","gists_url":"https://api.github.com/users/naquad/gists{/gist_id}","starred_url":"https://api.github.com/users/naquad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naquad/subscriptions","organizations_url":"https://api.github.com/users/naquad/orgs","repos_url":"https://api.github.com/users/naquad/repos","events_url":"https://api.github.com/users/naquad/events{/privacy}","received_events_url":"https://api.github.com/users/naquad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T09:17:16Z","updated_at":"2015-06-24T09:43:46Z","closed_at":null,"body":"Before to get current `stage` it was possible to do:\r\n\r\n```\r\ntask('xyz', function ($args) {\r\n   echo $args->getArgument('stage'); // prints stage where it is executed\r\n});\r\n```\r\n\r\nBut now function doesn't receive any arguments. How to get options / arguments values?"},"comment":{"url":"https://api.github.com/repos/deployphp/deployer/issues/comments/114808105","html_url":"https://github.com/deployphp/deployer/issues/377#issuecomment-114808105","issue_url":"https://api.github.com/repos/deployphp/deployer/issues/377","id":114808105,"user":{"login":"elfet","id":141232,"avatar_url":"https://avatars.githubusercontent.com/u/141232?v=3","gravatar_id":"","url":"https://api.github.com/users/elfet","html_url":"https://github.com/elfet","followers_url":"https://api.github.com/users/elfet/followers","following_url":"https://api.github.com/users/elfet/following{/other_user}","gists_url":"https://api.github.com/users/elfet/gists{/gist_id}","starred_url":"https://api.github.com/users/elfet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfet/subscriptions","organizations_url":"https://api.github.com/users/elfet/orgs","repos_url":"https://api.github.com/users/elfet/repos","events_url":"https://api.github.com/users/elfet/events{/privacy}","received_events_url":"https://api.github.com/users/elfet/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T09:43:46Z","updated_at":"2015-06-24T09:43:46Z","body":"What of version was supporting this? :)\r\n"}}