{"action":"opened","number":481,"pull_request":{"url":"https://api.github.com/repos/cake-build/cake/pulls/481","id":49483367,"html_url":"https://github.com/cake-build/cake/pull/481","diff_url":"https://github.com/cake-build/cake/pull/481.diff","patch_url":"https://github.com/cake-build/cake/pull/481.patch","issue_url":"https://api.github.com/repos/cake-build/cake/issues/481","number":481,"state":"open","locked":false,"title":"Improve argument parser to use unix-arguments","user":{"login":"DevWouter","id":4648283,"avatar_url":"https://avatars.githubusercontent.com/u/4648283?v=3","gravatar_id":"","url":"https://api.github.com/users/DevWouter","html_url":"https://github.com/DevWouter","followers_url":"https://api.github.com/users/DevWouter/followers","following_url":"https://api.github.com/users/DevWouter/following{/other_user}","gists_url":"https://api.github.com/users/DevWouter/gists{/gist_id}","starred_url":"https://api.github.com/users/DevWouter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevWouter/subscriptions","organizations_url":"https://api.github.com/users/DevWouter/orgs","repos_url":"https://api.github.com/users/DevWouter/repos","events_url":"https://api.github.com/users/DevWouter/events{/privacy}","received_events_url":"https://api.github.com/users/DevWouter/received_events","type":"User","site_admin":false},"body":"The original version used a non-conventional single-dash argument as a way\r\nof passing arguments. This has been changed to double-dash arguments for\r\nlong options and single-dash argument for single character options.\r\n\r\nTo prevent this commit from becoming a breaking change the old behaviour\r\nis also supported. It might be removed in the future in favor of the new\r\nstyle, however until documentation and features have been updated this\r\nshould have no effect for everyone.\r\n\r\nIn the new approach we have also introduced a new way to create additional\r\noptions in `CakeOptions`. The command line key name is now decided by an\r\nattribute. In the future we might wanna expend that with documentation\r\nattribute so that we can generate the help on the fly. (Also it would be\r\nreally cool if we could let cake parse the build file for additional\r\noptions).\r\n\r\nAll the newly introduced code has been written using TDD behaviour and\r\nexception for two error messages (so that it would support the new\r\nbehaviour) none of the original UnitTests have been changed.","created_at":"2015-11-02T20:47:26Z","updated_at":"2015-11-02T20:47:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cake-build/cake/pulls/481/commits","review_comments_url":"https://api.github.com/repos/cake-build/cake/pulls/481/comments","review_comment_url":"https://api.github.com/repos/cake-build/cake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cake-build/cake/issues/481/comments","statuses_url":"https://api.github.com/repos/cake-build/cake/statuses/5ad3c7d54ba70513fb37c237f6a797c31bf0b74c","head":{"label":"DevWouter:feature/unix-arguments","ref":"feature/unix-arguments","sha":"5ad3c7d54ba70513fb37c237f6a797c31bf0b74c","user":{"login":"DevWouter","id":4648283,"avatar_url":"https://avatars.githubusercontent.com/u/4648283?v=3","gravatar_id":"","url":"https://api.github.com/users/DevWouter","html_url":"https://github.com/DevWouter","followers_url":"https://api.github.com/users/DevWouter/followers","following_url":"https://api.github.com/users/DevWouter/following{/other_user}","gists_url":"https://api.github.com/users/DevWouter/gists{/gist_id}","starred_url":"https://api.github.com/users/DevWouter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevWouter/subscriptions","organizations_url":"https://api.github.com/users/DevWouter/orgs","repos_url":"https://api.github.com/users/DevWouter/repos","events_url":"https://api.github.com/users/DevWouter/events{/privacy}","received_events_url":"https://api.github.com/users/DevWouter/received_events","type":"User","site_admin":false},"repo":{"id":45202836,"name":"cake","full_name":"DevWouter/cake","owner":{"login":"DevWouter","id":4648283,"avatar_url":"https://avatars.githubusercontent.com/u/4648283?v=3","gravatar_id":"","url":"https://api.github.com/users/DevWouter","html_url":"https://github.com/DevWouter","followers_url":"https://api.github.com/users/DevWouter/followers","following_url":"https://api.github.com/users/DevWouter/following{/other_user}","gists_url":"https://api.github.com/users/DevWouter/gists{/gist_id}","starred_url":"https://api.github.com/users/DevWouter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevWouter/subscriptions","organizations_url":"https://api.github.com/users/DevWouter/orgs","repos_url":"https://api.github.com/users/DevWouter/repos","events_url":"https://api.github.com/users/DevWouter/events{/privacy}","received_events_url":"https://api.github.com/users/DevWouter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DevWouter/cake","description":"Cake (C# Make) is a cross platform build automation system.","fork":true,"url":"https://api.github.com/repos/DevWouter/cake","forks_url":"https://api.github.com/repos/DevWouter/cake/forks","keys_url":"https://api.github.com/repos/DevWouter/cake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DevWouter/cake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DevWouter/cake/teams","hooks_url":"https://api.github.com/repos/DevWouter/cake/hooks","issue_events_url":"https://api.github.com/repos/DevWouter/cake/issues/events{/number}","events_url":"https://api.github.com/repos/DevWouter/cake/events","assignees_url":"https://api.github.com/repos/DevWouter/cake/assignees{/user}","branches_url":"https://api.github.com/repos/DevWouter/cake/branches{/branch}","tags_url":"https://api.github.com/repos/DevWouter/cake/tags","blobs_url":"https://api.github.com/repos/DevWouter/cake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DevWouter/cake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DevWouter/cake/git/refs{/sha}","trees_url":"https://api.github.com/repos/DevWouter/cake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DevWouter/cake/statuses/{sha}","languages_url":"https://api.github.com/repos/DevWouter/cake/languages","stargazers_url":"https://api.github.com/repos/DevWouter/cake/stargazers","contributors_url":"https://api.github.com/repos/DevWouter/cake/contributors","subscribers_url":"https://api.github.com/repos/DevWouter/cake/subscribers","subscription_url":"https://api.github.com/repos/DevWouter/cake/subscription","commits_url":"https://api.github.com/repos/DevWouter/cake/commits{/sha}","git_commits_url":"https://api.github.com/repos/DevWouter/cake/git/commits{/sha}","comments_url":"https://api.github.com/repos/DevWouter/cake/comments{/number}","issue_comment_url":"https://api.github.com/repos/DevWouter/cake/issues/comments{/number}","contents_url":"https://api.github.com/repos/DevWouter/cake/contents/{+path}","compare_url":"https://api.github.com/repos/DevWouter/cake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DevWouter/cake/merges","archive_url":"https://api.github.com/repos/DevWouter/cake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DevWouter/cake/downloads","issues_url":"https://api.github.com/repos/DevWouter/cake/issues{/number}","pulls_url":"https://api.github.com/repos/DevWouter/cake/pulls{/number}","milestones_url":"https://api.github.com/repos/DevWouter/cake/milestones{/number}","notifications_url":"https://api.github.com/repos/DevWouter/cake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DevWouter/cake/labels{/name}","releases_url":"https://api.github.com/repos/DevWouter/cake/releases{/id}","created_at":"2015-10-29T18:31:46Z","updated_at":"2015-10-29T18:31:48Z","pushed_at":"2015-11-02T20:45:33Z","git_url":"git://github.com/DevWouter/cake.git","ssh_url":"git@github.com:DevWouter/cake.git","clone_url":"https://github.com/DevWouter/cake.git","svn_url":"https://github.com/DevWouter/cake","homepage":"http://cakebuild.net/","size":3329,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"cake-build:develop","ref":"develop","sha":"fdb390f889f61ab878623d0a60ad76f9e705d89a","user":{"login":"cake-build","id":7738262,"avatar_url":"https://avatars.githubusercontent.com/u/7738262?v=3","gravatar_id":"","url":"https://api.github.com/users/cake-build","html_url":"https://github.com/cake-build","followers_url":"https://api.github.com/users/cake-build/followers","following_url":"https://api.github.com/users/cake-build/following{/other_user}","gists_url":"https://api.github.com/users/cake-build/gists{/gist_id}","starred_url":"https://api.github.com/users/cake-build/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cake-build/subscriptions","organizations_url":"https://api.github.com/users/cake-build/orgs","repos_url":"https://api.github.com/users/cake-build/repos","events_url":"https://api.github.com/users/cake-build/events{/privacy}","received_events_url":"https://api.github.com/users/cake-build/received_events","type":"Organization","site_admin":false},"repo":{"id":20094029,"name":"cake","full_name":"cake-build/cake","owner":{"login":"cake-build","id":7738262,"avatar_url":"https://avatars.githubusercontent.com/u/7738262?v=3","gravatar_id":"","url":"https://api.github.com/users/cake-build","html_url":"https://github.com/cake-build","followers_url":"https://api.github.com/users/cake-build/followers","following_url":"https://api.github.com/users/cake-build/following{/other_user}","gists_url":"https://api.github.com/users/cake-build/gists{/gist_id}","starred_url":"https://api.github.com/users/cake-build/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cake-build/subscriptions","organizations_url":"https://api.github.com/users/cake-build/orgs","repos_url":"https://api.github.com/users/cake-build/repos","events_url":"https://api.github.com/users/cake-build/events{/privacy}","received_events_url":"https://api.github.com/users/cake-build/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cake-build/cake","description":"Cake (C# Make) is a cross platform build automation system.","fork":false,"url":"https://api.github.com/repos/cake-build/cake","forks_url":"https://api.github.com/repos/cake-build/cake/forks","keys_url":"https://api.github.com/repos/cake-build/cake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cake-build/cake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cake-build/cake/teams","hooks_url":"https://api.github.com/repos/cake-build/cake/hooks","issue_events_url":"https://api.github.com/repos/cake-build/cake/issues/events{/number}","events_url":"https://api.github.com/repos/cake-build/cake/events","assignees_url":"https://api.github.com/repos/cake-build/cake/assignees{/user}","branches_url":"https://api.github.com/repos/cake-build/cake/branches{/branch}","tags_url":"https://api.github.com/repos/cake-build/cake/tags","blobs_url":"https://api.github.com/repos/cake-build/cake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cake-build/cake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cake-build/cake/git/refs{/sha}","trees_url":"https://api.github.com/repos/cake-build/cake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cake-build/cake/statuses/{sha}","languages_url":"https://api.github.com/repos/cake-build/cake/languages","stargazers_url":"https://api.github.com/repos/cake-build/cake/stargazers","contributors_url":"https://api.github.com/repos/cake-build/cake/contributors","subscribers_url":"https://api.github.com/repos/cake-build/cake/subscribers","subscription_url":"https://api.github.com/repos/cake-build/cake/subscription","commits_url":"https://api.github.com/repos/cake-build/cake/commits{/sha}","git_commits_url":"https://api.github.com/repos/cake-build/cake/git/commits{/sha}","comments_url":"https://api.github.com/repos/cake-build/cake/comments{/number}","issue_comment_url":"https://api.github.com/repos/cake-build/cake/issues/comments{/number}","contents_url":"https://api.github.com/repos/cake-build/cake/contents/{+path}","compare_url":"https://api.github.com/repos/cake-build/cake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cake-build/cake/merges","archive_url":"https://api.github.com/repos/cake-build/cake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cake-build/cake/downloads","issues_url":"https://api.github.com/repos/cake-build/cake/issues{/number}","pulls_url":"https://api.github.com/repos/cake-build/cake/pulls{/number}","milestones_url":"https://api.github.com/repos/cake-build/cake/milestones{/number}","notifications_url":"https://api.github.com/repos/cake-build/cake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cake-build/cake/labels{/name}","releases_url":"https://api.github.com/repos/cake-build/cake/releases{/id}","created_at":"2014-05-23T09:26:54Z","updated_at":"2015-11-02T12:06:07Z","pushed_at":"2015-11-02T19:03:39Z","git_url":"git://github.com/cake-build/cake.git","ssh_url":"git@github.com:cake-build/cake.git","clone_url":"https://github.com/cake-build/cake.git","svn_url":"https://github.com/cake-build/cake","homepage":"http://cakebuild.net/","size":7530,"stargazers_count":303,"watchers_count":303,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":85,"forks":67,"open_issues":85,"watchers":303,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/cake-build/cake/pulls/481"},"html":{"href":"https://github.com/cake-build/cake/pull/481"},"issue":{"href":"https://api.github.com/repos/cake-build/cake/issues/481"},"comments":{"href":"https://api.github.com/repos/cake-build/cake/issues/481/comments"},"review_comments":{"href":"https://api.github.com/repos/cake-build/cake/pulls/481/comments"},"review_comment":{"href":"https://api.github.com/repos/cake-build/cake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cake-build/cake/pulls/481/commits"},"statuses":{"href":"https://api.github.com/repos/cake-build/cake/statuses/5ad3c7d54ba70513fb37c237f6a797c31bf0b74c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":910,"deletions":119,"changed_files":9}}