{"action":"closed","number":69,"pull_request":{"url":"https://api.github.com/repos/pantsbuild/pants/pulls/69","id":14905376,"html_url":"https://github.com/pantsbuild/pants/pull/69","diff_url":"https://github.com/pantsbuild/pants/pull/69.diff","patch_url":"https://github.com/pantsbuild/pants/pull/69.patch","issue_url":"https://api.github.com/repos/pantsbuild/pants/issues/69","number":69,"state":"closed","locked":false,"title":"allow specifying main via the command line","user":{"login":"luciferous","id":24509,"avatar_url":"https://avatars.githubusercontent.com/u/24509?v=3","gravatar_id":"","url":"https://api.github.com/users/luciferous","html_url":"https://github.com/luciferous","followers_url":"https://api.github.com/users/luciferous/followers","following_url":"https://api.github.com/users/luciferous/following{/other_user}","gists_url":"https://api.github.com/users/luciferous/gists{/gist_id}","starred_url":"https://api.github.com/users/luciferous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luciferous/subscriptions","organizations_url":"https://api.github.com/users/luciferous/orgs","repos_url":"https://api.github.com/users/luciferous/repos","events_url":"https://api.github.com/users/luciferous/events{/privacy}","received_events_url":"https://api.github.com/users/luciferous/received_events","type":"User","site_admin":false},"body":"This will allow running any target in a project as long as there is a\r\nbinary definition, e.g.\r\n\r\n    $ ./pants goal run example/BUILD:bin --jvm-run-main=example.Main","created_at":"2014-04-18T01:32:34Z","updated_at":"2015-02-15T19:10:37Z","closed_at":"2015-02-15T19:10:37Z","merged_at":null,"merge_commit_sha":"b4dc3f6addd7a012b08229b522f4edcc26ba100a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pantsbuild/pants/pulls/69/commits","review_comments_url":"https://api.github.com/repos/pantsbuild/pants/pulls/69/comments","review_comment_url":"https://api.github.com/repos/pantsbuild/pants/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pantsbuild/pants/issues/69/comments","statuses_url":"https://api.github.com/repos/pantsbuild/pants/statuses/40c3e4d9101acc3cd2ac568251dae1530c4c7935","head":{"label":"luciferous:specify-main-on-cmdline","ref":"specify-main-on-cmdline","sha":"40c3e4d9101acc3cd2ac568251dae1530c4c7935","user":{"login":"luciferous","id":24509,"avatar_url":"https://avatars.githubusercontent.com/u/24509?v=3","gravatar_id":"","url":"https://api.github.com/users/luciferous","html_url":"https://github.com/luciferous","followers_url":"https://api.github.com/users/luciferous/followers","following_url":"https://api.github.com/users/luciferous/following{/other_user}","gists_url":"https://api.github.com/users/luciferous/gists{/gist_id}","starred_url":"https://api.github.com/users/luciferous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luciferous/subscriptions","organizations_url":"https://api.github.com/users/luciferous/orgs","repos_url":"https://api.github.com/users/luciferous/repos","events_url":"https://api.github.com/users/luciferous/events{/privacy}","received_events_url":"https://api.github.com/users/luciferous/received_events","type":"User","site_admin":false},"repo":{"id":18896699,"name":"pants","full_name":"luciferous/pants","owner":{"login":"luciferous","id":24509,"avatar_url":"https://avatars.githubusercontent.com/u/24509?v=3","gravatar_id":"","url":"https://api.github.com/users/luciferous","html_url":"https://github.com/luciferous","followers_url":"https://api.github.com/users/luciferous/followers","following_url":"https://api.github.com/users/luciferous/following{/other_user}","gists_url":"https://api.github.com/users/luciferous/gists{/gist_id}","starred_url":"https://api.github.com/users/luciferous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luciferous/subscriptions","organizations_url":"https://api.github.com/users/luciferous/orgs","repos_url":"https://api.github.com/users/luciferous/repos","events_url":"https://api.github.com/users/luciferous/events{/privacy}","received_events_url":"https://api.github.com/users/luciferous/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luciferous/pants","description":"Pants Build System","fork":true,"url":"https://api.github.com/repos/luciferous/pants","forks_url":"https://api.github.com/repos/luciferous/pants/forks","keys_url":"https://api.github.com/repos/luciferous/pants/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luciferous/pants/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luciferous/pants/teams","hooks_url":"https://api.github.com/repos/luciferous/pants/hooks","issue_events_url":"https://api.github.com/repos/luciferous/pants/issues/events{/number}","events_url":"https://api.github.com/repos/luciferous/pants/events","assignees_url":"https://api.github.com/repos/luciferous/pants/assignees{/user}","branches_url":"https://api.github.com/repos/luciferous/pants/branches{/branch}","tags_url":"https://api.github.com/repos/luciferous/pants/tags","blobs_url":"https://api.github.com/repos/luciferous/pants/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luciferous/pants/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luciferous/pants/git/refs{/sha}","trees_url":"https://api.github.com/repos/luciferous/pants/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luciferous/pants/statuses/{sha}","languages_url":"https://api.github.com/repos/luciferous/pants/languages","stargazers_url":"https://api.github.com/repos/luciferous/pants/stargazers","contributors_url":"https://api.github.com/repos/luciferous/pants/contributors","subscribers_url":"https://api.github.com/repos/luciferous/pants/subscribers","subscription_url":"https://api.github.com/repos/luciferous/pants/subscription","commits_url":"https://api.github.com/repos/luciferous/pants/commits{/sha}","git_commits_url":"https://api.github.com/repos/luciferous/pants/git/commits{/sha}","comments_url":"https://api.github.com/repos/luciferous/pants/comments{/number}","issue_comment_url":"https://api.github.com/repos/luciferous/pants/issues/comments/{number}","contents_url":"https://api.github.com/repos/luciferous/pants/contents/{+path}","compare_url":"https://api.github.com/repos/luciferous/pants/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luciferous/pants/merges","archive_url":"https://api.github.com/repos/luciferous/pants/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luciferous/pants/downloads","issues_url":"https://api.github.com/repos/luciferous/pants/issues{/number}","pulls_url":"https://api.github.com/repos/luciferous/pants/pulls{/number}","milestones_url":"https://api.github.com/repos/luciferous/pants/milestones{/number}","notifications_url":"https://api.github.com/repos/luciferous/pants/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luciferous/pants/labels{/name}","releases_url":"https://api.github.com/repos/luciferous/pants/releases{/id}","created_at":"2014-04-17T23:36:29Z","updated_at":"2014-04-18T01:42:23Z","pushed_at":"2014-04-18T01:42:23Z","git_url":"git://github.com/luciferous/pants.git","ssh_url":"git@github.com:luciferous/pants.git","clone_url":"https://github.com/luciferous/pants.git","svn_url":"https://github.com/luciferous/pants","homepage":"http://pantsbuild.github.io/","size":43062,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"master"}},"base":{"label":"pantsbuild:master","ref":"master","sha":"c5d922cc93aaa96773070d35b8a225bee772380c","user":{"login":"pantsbuild","id":3065172,"avatar_url":"https://avatars.githubusercontent.com/u/3065172?v=3","gravatar_id":"","url":"https://api.github.com/users/pantsbuild","html_url":"https://github.com/pantsbuild","followers_url":"https://api.github.com/users/pantsbuild/followers","following_url":"https://api.github.com/users/pantsbuild/following{/other_user}","gists_url":"https://api.github.com/users/pantsbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/pantsbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantsbuild/subscriptions","organizations_url":"https://api.github.com/users/pantsbuild/orgs","repos_url":"https://api.github.com/users/pantsbuild/repos","events_url":"https://api.github.com/users/pantsbuild/events{/privacy}","received_events_url":"https://api.github.com/users/pantsbuild/received_events","type":"Organization","site_admin":false},"repo":{"id":7209075,"name":"pants","full_name":"pantsbuild/pants","owner":{"login":"pantsbuild","id":3065172,"avatar_url":"https://avatars.githubusercontent.com/u/3065172?v=3","gravatar_id":"","url":"https://api.github.com/users/pantsbuild","html_url":"https://github.com/pantsbuild","followers_url":"https://api.github.com/users/pantsbuild/followers","following_url":"https://api.github.com/users/pantsbuild/following{/other_user}","gists_url":"https://api.github.com/users/pantsbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/pantsbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantsbuild/subscriptions","organizations_url":"https://api.github.com/users/pantsbuild/orgs","repos_url":"https://api.github.com/users/pantsbuild/repos","events_url":"https://api.github.com/users/pantsbuild/events{/privacy}","received_events_url":"https://api.github.com/users/pantsbuild/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pantsbuild/pants","description":"Pants Build System","fork":false,"url":"https://api.github.com/repos/pantsbuild/pants","forks_url":"https://api.github.com/repos/pantsbuild/pants/forks","keys_url":"https://api.github.com/repos/pantsbuild/pants/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pantsbuild/pants/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pantsbuild/pants/teams","hooks_url":"https://api.github.com/repos/pantsbuild/pants/hooks","issue_events_url":"https://api.github.com/repos/pantsbuild/pants/issues/events{/number}","events_url":"https://api.github.com/repos/pantsbuild/pants/events","assignees_url":"https://api.github.com/repos/pantsbuild/pants/assignees{/user}","branches_url":"https://api.github.com/repos/pantsbuild/pants/branches{/branch}","tags_url":"https://api.github.com/repos/pantsbuild/pants/tags","blobs_url":"https://api.github.com/repos/pantsbuild/pants/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pantsbuild/pants/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pantsbuild/pants/git/refs{/sha}","trees_url":"https://api.github.com/repos/pantsbuild/pants/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pantsbuild/pants/statuses/{sha}","languages_url":"https://api.github.com/repos/pantsbuild/pants/languages","stargazers_url":"https://api.github.com/repos/pantsbuild/pants/stargazers","contributors_url":"https://api.github.com/repos/pantsbuild/pants/contributors","subscribers_url":"https://api.github.com/repos/pantsbuild/pants/subscribers","subscription_url":"https://api.github.com/repos/pantsbuild/pants/subscription","commits_url":"https://api.github.com/repos/pantsbuild/pants/commits{/sha}","git_commits_url":"https://api.github.com/repos/pantsbuild/pants/git/commits{/sha}","comments_url":"https://api.github.com/repos/pantsbuild/pants/comments{/number}","issue_comment_url":"https://api.github.com/repos/pantsbuild/pants/issues/comments/{number}","contents_url":"https://api.github.com/repos/pantsbuild/pants/contents/{+path}","compare_url":"https://api.github.com/repos/pantsbuild/pants/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pantsbuild/pants/merges","archive_url":"https://api.github.com/repos/pantsbuild/pants/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pantsbuild/pants/downloads","issues_url":"https://api.github.com/repos/pantsbuild/pants/issues{/number}","pulls_url":"https://api.github.com/repos/pantsbuild/pants/pulls{/number}","milestones_url":"https://api.github.com/repos/pantsbuild/pants/milestones{/number}","notifications_url":"https://api.github.com/repos/pantsbuild/pants/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pantsbuild/pants/labels{/name}","releases_url":"https://api.github.com/repos/pantsbuild/pants/releases{/id}","created_at":"2012-12-17T17:39:04Z","updated_at":"2015-02-15T18:09:04Z","pushed_at":"2015-02-15T17:17:34Z","git_url":"git://github.com/pantsbuild/pants.git","ssh_url":"git@github.com:pantsbuild/pants.git","clone_url":"https://github.com/pantsbuild/pants.git","svn_url":"https://github.com/pantsbuild/pants","homepage":"http://pantsbuild.github.io/","size":60926,"stargazers_count":311,"watchers_count":311,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":69,"mirror_url":null,"open_issues_count":226,"forks":69,"open_issues":226,"watchers":311,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pantsbuild/pants/pulls/69"},"html":{"href":"https://github.com/pantsbuild/pants/pull/69"},"issue":{"href":"https://api.github.com/repos/pantsbuild/pants/issues/69"},"comments":{"href":"https://api.github.com/repos/pantsbuild/pants/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/pantsbuild/pants/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/pantsbuild/pants/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pantsbuild/pants/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/pantsbuild/pants/statuses/40c3e4d9101acc3cd2ac568251dae1530c4c7935"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":10,"deletions":1,"changed_files":1}}