{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/sbt/launcher/pulls/2","id":30735547,"html_url":"https://github.com/sbt/launcher/pull/2","diff_url":"https://github.com/sbt/launcher/pull/2.diff","patch_url":"https://github.com/sbt/launcher/pull/2.patch","issue_url":"https://api.github.com/repos/sbt/launcher/issues/2","number":2,"state":"closed","locked":false,"title":"`--version` is handled by the launcher","user":{"login":"eed3si9n","id":184683,"avatar_url":"https://avatars.githubusercontent.com/u/184683?v=3","gravatar_id":"","url":"https://api.github.com/users/eed3si9n","html_url":"https://github.com/eed3si9n","followers_url":"https://api.github.com/users/eed3si9n/followers","following_url":"https://api.github.com/users/eed3si9n/following{/other_user}","gists_url":"https://api.github.com/users/eed3si9n/gists{/gist_id}","starred_url":"https://api.github.com/users/eed3si9n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eed3si9n/subscriptions","organizations_url":"https://api.github.com/users/eed3si9n/orgs","repos_url":"https://api.github.com/users/eed3si9n/repos","events_url":"https://api.github.com/users/eed3si9n/events{/privacy}","received_events_url":"https://api.github.com/users/eed3si9n/received_events","type":"User","site_admin":false},"body":"## steps\r\n\r\n```\r\n$ which sbt\r\n/Users/eugene/bin/sbt\r\n$ sbt --version\r\nsbt launcher version 0.13.6\r\n$ which scalaxb\r\n/Users/eugene/bin/scalaxb\r\n$ scalaxb --version \r\nsbt launcher version 0.13.6\r\n```\r\n\r\n## problem\r\n\r\nLauncher responding it own version\r\n\r\n```\r\nsbt launcher version 0.13.6\r\n```\r\n\r\nis not helpful.\r\n\r\n## expectation\r\n\r\nOlder launcher used to delegate `--version` to the underlying application.\r\nI would like `sbt --version` to return the sbt version, and `scalaxb --version` to return the scalaxb version. This becomes more relevant as the sbt launcher stabilizes and is used by both sbt and conscript.\r\n\r\n## note\r\n\r\nconscript calls `foo --version` when you install `foo` to force download of the necessary JARs.\r\nAs such, all conscripted applications are encouraged to implement `--version`.\r\n","created_at":"2015-03-09T04:24:41Z","updated_at":"2015-03-09T11:47:33Z","closed_at":"2015-03-09T11:47:33Z","merged_at":"2015-03-09T11:47:33Z","merge_commit_sha":"aadd7896793742434b6c683fe12400781df23ada","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sbt/launcher/pulls/2/commits","review_comments_url":"https://api.github.com/repos/sbt/launcher/pulls/2/comments","review_comment_url":"https://api.github.com/repos/sbt/launcher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sbt/launcher/issues/2/comments","statuses_url":"https://api.github.com/repos/sbt/launcher/statuses/e312009f21dcccb29e4455c8130b4d8b81a05c4a","head":{"label":"sbt:fix/2","ref":"fix/2","sha":"e312009f21dcccb29e4455c8130b4d8b81a05c4a","user":{"login":"sbt","id":1158012,"avatar_url":"https://avatars.githubusercontent.com/u/1158012?v=3","gravatar_id":"","url":"https://api.github.com/users/sbt","html_url":"https://github.com/sbt","followers_url":"https://api.github.com/users/sbt/followers","following_url":"https://api.github.com/users/sbt/following{/other_user}","gists_url":"https://api.github.com/users/sbt/gists{/gist_id}","starred_url":"https://api.github.com/users/sbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbt/subscriptions","organizations_url":"https://api.github.com/users/sbt/orgs","repos_url":"https://api.github.com/users/sbt/repos","events_url":"https://api.github.com/users/sbt/events{/privacy}","received_events_url":"https://api.github.com/users/sbt/received_events","type":"Organization","site_admin":false},"repo":{"id":27496031,"name":"launcher","full_name":"sbt/launcher","owner":{"login":"sbt","id":1158012,"avatar_url":"https://avatars.githubusercontent.com/u/1158012?v=3","gravatar_id":"","url":"https://api.github.com/users/sbt","html_url":"https://github.com/sbt","followers_url":"https://api.github.com/users/sbt/followers","following_url":"https://api.github.com/users/sbt/following{/other_user}","gists_url":"https://api.github.com/users/sbt/gists{/gist_id}","starred_url":"https://api.github.com/users/sbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbt/subscriptions","organizations_url":"https://api.github.com/users/sbt/orgs","repos_url":"https://api.github.com/users/sbt/repos","events_url":"https://api.github.com/users/sbt/events{/privacy}","received_events_url":"https://api.github.com/users/sbt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sbt/launcher","description":"The sbt launcher as its own project.  Can launch any ivy/maven published project with a main class, with some fancy features.","fork":false,"url":"https://api.github.com/repos/sbt/launcher","forks_url":"https://api.github.com/repos/sbt/launcher/forks","keys_url":"https://api.github.com/repos/sbt/launcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbt/launcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbt/launcher/teams","hooks_url":"https://api.github.com/repos/sbt/launcher/hooks","issue_events_url":"https://api.github.com/repos/sbt/launcher/issues/events{/number}","events_url":"https://api.github.com/repos/sbt/launcher/events","assignees_url":"https://api.github.com/repos/sbt/launcher/assignees{/user}","branches_url":"https://api.github.com/repos/sbt/launcher/branches{/branch}","tags_url":"https://api.github.com/repos/sbt/launcher/tags","blobs_url":"https://api.github.com/repos/sbt/launcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbt/launcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbt/launcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbt/launcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbt/launcher/statuses/{sha}","languages_url":"https://api.github.com/repos/sbt/launcher/languages","stargazers_url":"https://api.github.com/repos/sbt/launcher/stargazers","contributors_url":"https://api.github.com/repos/sbt/launcher/contributors","subscribers_url":"https://api.github.com/repos/sbt/launcher/subscribers","subscription_url":"https://api.github.com/repos/sbt/launcher/subscription","commits_url":"https://api.github.com/repos/sbt/launcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbt/launcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbt/launcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbt/launcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbt/launcher/contents/{+path}","compare_url":"https://api.github.com/repos/sbt/launcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbt/launcher/merges","archive_url":"https://api.github.com/repos/sbt/launcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbt/launcher/downloads","issues_url":"https://api.github.com/repos/sbt/launcher/issues{/number}","pulls_url":"https://api.github.com/repos/sbt/launcher/pulls{/number}","milestones_url":"https://api.github.com/repos/sbt/launcher/milestones{/number}","notifications_url":"https://api.github.com/repos/sbt/launcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbt/launcher/labels{/name}","releases_url":"https://api.github.com/repos/sbt/launcher/releases{/id}","created_at":"2014-12-03T16:23:19Z","updated_at":"2015-03-08T08:54:49Z","pushed_at":"2015-03-09T11:47:33Z","git_url":"git://github.com/sbt/launcher.git","ssh_url":"git@github.com:sbt/launcher.git","clone_url":"https://github.com/sbt/launcher.git","svn_url":"https://github.com/sbt/launcher","homepage":"","size":536,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"0.13"}},"base":{"label":"sbt:0.13","ref":"0.13","sha":"1d87bbc0a3b51157f7b4b39cd9cdc6dd24ef7bd2","user":{"login":"sbt","id":1158012,"avatar_url":"https://avatars.githubusercontent.com/u/1158012?v=3","gravatar_id":"","url":"https://api.github.com/users/sbt","html_url":"https://github.com/sbt","followers_url":"https://api.github.com/users/sbt/followers","following_url":"https://api.github.com/users/sbt/following{/other_user}","gists_url":"https://api.github.com/users/sbt/gists{/gist_id}","starred_url":"https://api.github.com/users/sbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbt/subscriptions","organizations_url":"https://api.github.com/users/sbt/orgs","repos_url":"https://api.github.com/users/sbt/repos","events_url":"https://api.github.com/users/sbt/events{/privacy}","received_events_url":"https://api.github.com/users/sbt/received_events","type":"Organization","site_admin":false},"repo":{"id":27496031,"name":"launcher","full_name":"sbt/launcher","owner":{"login":"sbt","id":1158012,"avatar_url":"https://avatars.githubusercontent.com/u/1158012?v=3","gravatar_id":"","url":"https://api.github.com/users/sbt","html_url":"https://github.com/sbt","followers_url":"https://api.github.com/users/sbt/followers","following_url":"https://api.github.com/users/sbt/following{/other_user}","gists_url":"https://api.github.com/users/sbt/gists{/gist_id}","starred_url":"https://api.github.com/users/sbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbt/subscriptions","organizations_url":"https://api.github.com/users/sbt/orgs","repos_url":"https://api.github.com/users/sbt/repos","events_url":"https://api.github.com/users/sbt/events{/privacy}","received_events_url":"https://api.github.com/users/sbt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sbt/launcher","description":"The sbt launcher as its own project.  Can launch any ivy/maven published project with a main class, with some fancy features.","fork":false,"url":"https://api.github.com/repos/sbt/launcher","forks_url":"https://api.github.com/repos/sbt/launcher/forks","keys_url":"https://api.github.com/repos/sbt/launcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbt/launcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbt/launcher/teams","hooks_url":"https://api.github.com/repos/sbt/launcher/hooks","issue_events_url":"https://api.github.com/repos/sbt/launcher/issues/events{/number}","events_url":"https://api.github.com/repos/sbt/launcher/events","assignees_url":"https://api.github.com/repos/sbt/launcher/assignees{/user}","branches_url":"https://api.github.com/repos/sbt/launcher/branches{/branch}","tags_url":"https://api.github.com/repos/sbt/launcher/tags","blobs_url":"https://api.github.com/repos/sbt/launcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbt/launcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbt/launcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbt/launcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbt/launcher/statuses/{sha}","languages_url":"https://api.github.com/repos/sbt/launcher/languages","stargazers_url":"https://api.github.com/repos/sbt/launcher/stargazers","contributors_url":"https://api.github.com/repos/sbt/launcher/contributors","subscribers_url":"https://api.github.com/repos/sbt/launcher/subscribers","subscription_url":"https://api.github.com/repos/sbt/launcher/subscription","commits_url":"https://api.github.com/repos/sbt/launcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbt/launcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbt/launcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbt/launcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbt/launcher/contents/{+path}","compare_url":"https://api.github.com/repos/sbt/launcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbt/launcher/merges","archive_url":"https://api.github.com/repos/sbt/launcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbt/launcher/downloads","issues_url":"https://api.github.com/repos/sbt/launcher/issues{/number}","pulls_url":"https://api.github.com/repos/sbt/launcher/pulls{/number}","milestones_url":"https://api.github.com/repos/sbt/launcher/milestones{/number}","notifications_url":"https://api.github.com/repos/sbt/launcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbt/launcher/labels{/name}","releases_url":"https://api.github.com/repos/sbt/launcher/releases{/id}","created_at":"2014-12-03T16:23:19Z","updated_at":"2015-03-08T08:54:49Z","pushed_at":"2015-03-09T11:47:33Z","git_url":"git://github.com/sbt/launcher.git","ssh_url":"git@github.com:sbt/launcher.git","clone_url":"https://github.com/sbt/launcher.git","svn_url":"https://github.com/sbt/launcher","homepage":"","size":536,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"0.13"}},"_links":{"self":{"href":"https://api.github.com/repos/sbt/launcher/pulls/2"},"html":{"href":"https://github.com/sbt/launcher/pull/2"},"issue":{"href":"https://api.github.com/repos/sbt/launcher/issues/2"},"comments":{"href":"https://api.github.com/repos/sbt/launcher/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/sbt/launcher/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/sbt/launcher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sbt/launcher/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/sbt/launcher/statuses/e312009f21dcccb29e4455c8130b4d8b81a05c4a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jsuereth","id":29006,"avatar_url":"https://avatars.githubusercontent.com/u/29006?v=3","gravatar_id":"","url":"https://api.github.com/users/jsuereth","html_url":"https://github.com/jsuereth","followers_url":"https://api.github.com/users/jsuereth/followers","following_url":"https://api.github.com/users/jsuereth/following{/other_user}","gists_url":"https://api.github.com/users/jsuereth/gists{/gist_id}","starred_url":"https://api.github.com/users/jsuereth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsuereth/subscriptions","organizations_url":"https://api.github.com/users/jsuereth/orgs","repos_url":"https://api.github.com/users/jsuereth/repos","events_url":"https://api.github.com/users/jsuereth/events{/privacy}","received_events_url":"https://api.github.com/users/jsuereth/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}