{"action":"created","comment":{"url":"https://api.github.com/repos/angular/closure-to-dts/pulls/comments/38961857","id":38961857,"diff_hunk":"@@ -65,45 +72,88 @@\n  */\n public class DeclarationGenerator {\n \n+  @Option(name=\"-o\", usage=\"output to this file\", metaVar=\"OUTPUT\")\n+  String output = new String(\"-\");\n+\n+  @Option(name=\"--parseExterns\", usage=\"you can run faster by skipping the externs parsing \"\n+      + \"(useful for tests)\")\n+  boolean parseExterns;\n+\n+  @Option(name=\"--externs\", usage=\"list of files to read externs definitions\")\n+  List<String> externs = new ArrayList<>();\n+\n+  @Argument\n+  private List<String> arguments = new ArrayList<>();\n+\n   private static final Logger logger = Logger.getLogger(DeclarationGenerator.class.getName());","path":"src/main/java/com/google/javascript/cl2dts/DeclarationGenerator.java","position":45,"original_position":45,"commit_id":"f194636302e07b7048035da1a0a18b2dfe37ff26","original_commit_id":"f194636302e07b7048035da1a0a18b2dfe37ff26","user":{"login":"mprobst","id":7208,"avatar_url":"https://avatars.githubusercontent.com/u/7208?v=3","gravatar_id":"","url":"https://api.github.com/users/mprobst","html_url":"https://github.com/mprobst","followers_url":"https://api.github.com/users/mprobst/followers","following_url":"https://api.github.com/users/mprobst/following{/other_user}","gists_url":"https://api.github.com/users/mprobst/gists{/gist_id}","starred_url":"https://api.github.com/users/mprobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprobst/subscriptions","organizations_url":"https://api.github.com/users/mprobst/orgs","repos_url":"https://api.github.com/users/mprobst/repos","events_url":"https://api.github.com/users/mprobst/events{/privacy}","received_events_url":"https://api.github.com/users/mprobst/received_events","type":"User","site_admin":false},"body":"move the constants above the fields","created_at":"2015-09-08T18:26:46Z","updated_at":"2015-09-08T18:26:46Z","html_url":"https://github.com/angular/closure-to-dts/pull/85#discussion_r38961857","pull_request_url":"https://api.github.com/repos/angular/closure-to-dts/pulls/85","_links":{"self":{"href":"https://api.github.com/repos/angular/closure-to-dts/pulls/comments/38961857"},"html":{"href":"https://github.com/angular/closure-to-dts/pull/85#discussion_r38961857"},"pull_request":{"href":"https://api.github.com/repos/angular/closure-to-dts/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/angular/closure-to-dts/pulls/85","id":44460452,"html_url":"https://github.com/angular/closure-to-dts/pull/85","diff_url":"https://github.com/angular/closure-to-dts/pull/85.diff","patch_url":"https://github.com/angular/closure-to-dts/pull/85.patch","issue_url":"https://api.github.com/repos/angular/closure-to-dts/issues/85","number":85,"state":"open","locked":false,"title":"feature(cli): get outfile and externs from command line","user":{"login":"alexeagle","id":47395,"avatar_url":"https://avatars.githubusercontent.com/u/47395?v=3","gravatar_id":"","url":"https://api.github.com/users/alexeagle","html_url":"https://github.com/alexeagle","followers_url":"https://api.github.com/users/alexeagle/followers","following_url":"https://api.github.com/users/alexeagle/following{/other_user}","gists_url":"https://api.github.com/users/alexeagle/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeagle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeagle/subscriptions","organizations_url":"https://api.github.com/users/alexeagle/orgs","repos_url":"https://api.github.com/users/alexeagle/repos","events_url":"https://api.github.com/users/alexeagle/events{/privacy}","received_events_url":"https://api.github.com/users/alexeagle/received_events","type":"User","site_admin":false},"body":"fixes #15","created_at":"2015-09-08T17:33:58Z","updated_at":"2015-09-08T18:26:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56890ed2ceb9a5f30aeefa35d03cee3a6d7dd30a","assignee":{"login":"mprobst","id":7208,"avatar_url":"https://avatars.githubusercontent.com/u/7208?v=3","gravatar_id":"","url":"https://api.github.com/users/mprobst","html_url":"https://github.com/mprobst","followers_url":"https://api.github.com/users/mprobst/followers","following_url":"https://api.github.com/users/mprobst/following{/other_user}","gists_url":"https://api.github.com/users/mprobst/gists{/gist_id}","starred_url":"https://api.github.com/users/mprobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprobst/subscriptions","organizations_url":"https://api.github.com/users/mprobst/orgs","repos_url":"https://api.github.com/users/mprobst/repos","events_url":"https://api.github.com/users/mprobst/events{/privacy}","received_events_url":"https://api.github.com/users/mprobst/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/angular/closure-to-dts/pulls/85/commits","review_comments_url":"https://api.github.com/repos/angular/closure-to-dts/pulls/85/comments","review_comment_url":"https://api.github.com/repos/angular/closure-to-dts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/closure-to-dts/issues/85/comments","statuses_url":"https://api.github.com/repos/angular/closure-to-dts/statuses/f194636302e07b7048035da1a0a18b2dfe37ff26","head":{"label":"angular:externs","ref":"externs","sha":"f194636302e07b7048035da1a0a18b2dfe37ff26","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":31076984,"name":"closure-to-dts","full_name":"angular/closure-to-dts","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/closure-to-dts","description":"Closure to TypeScript `.d.ts` generator","fork":false,"url":"https://api.github.com/repos/angular/closure-to-dts","forks_url":"https://api.github.com/repos/angular/closure-to-dts/forks","keys_url":"https://api.github.com/repos/angular/closure-to-dts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/closure-to-dts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/closure-to-dts/teams","hooks_url":"https://api.github.com/repos/angular/closure-to-dts/hooks","issue_events_url":"https://api.github.com/repos/angular/closure-to-dts/issues/events{/number}","events_url":"https://api.github.com/repos/angular/closure-to-dts/events","assignees_url":"https://api.github.com/repos/angular/closure-to-dts/assignees{/user}","branches_url":"https://api.github.com/repos/angular/closure-to-dts/branches{/branch}","tags_url":"https://api.github.com/repos/angular/closure-to-dts/tags","blobs_url":"https://api.github.com/repos/angular/closure-to-dts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/closure-to-dts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/closure-to-dts/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/closure-to-dts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/closure-to-dts/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/closure-to-dts/languages","stargazers_url":"https://api.github.com/repos/angular/closure-to-dts/stargazers","contributors_url":"https://api.github.com/repos/angular/closure-to-dts/contributors","subscribers_url":"https://api.github.com/repos/angular/closure-to-dts/subscribers","subscription_url":"https://api.github.com/repos/angular/closure-to-dts/subscription","commits_url":"https://api.github.com/repos/angular/closure-to-dts/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/closure-to-dts/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/closure-to-dts/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/closure-to-dts/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/closure-to-dts/contents/{+path}","compare_url":"https://api.github.com/repos/angular/closure-to-dts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/closure-to-dts/merges","archive_url":"https://api.github.com/repos/angular/closure-to-dts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/closure-to-dts/downloads","issues_url":"https://api.github.com/repos/angular/closure-to-dts/issues{/number}","pulls_url":"https://api.github.com/repos/angular/closure-to-dts/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/closure-to-dts/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/closure-to-dts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/closure-to-dts/labels{/name}","releases_url":"https://api.github.com/repos/angular/closure-to-dts/releases{/id}","created_at":"2015-02-20T17:52:24Z","updated_at":"2015-08-19T21:25:44Z","pushed_at":"2015-09-08T18:25:20Z","git_url":"git://github.com/angular/closure-to-dts.git","ssh_url":"git@github.com:angular/closure-to-dts.git","clone_url":"https://github.com/angular/closure-to-dts.git","svn_url":"https://github.com/angular/closure-to-dts","homepage":"","size":1045,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"7fa265cd611514e0ab06a939f2e83942857f38e9","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":31076984,"name":"closure-to-dts","full_name":"angular/closure-to-dts","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/closure-to-dts","description":"Closure to TypeScript `.d.ts` generator","fork":false,"url":"https://api.github.com/repos/angular/closure-to-dts","forks_url":"https://api.github.com/repos/angular/closure-to-dts/forks","keys_url":"https://api.github.com/repos/angular/closure-to-dts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/closure-to-dts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/closure-to-dts/teams","hooks_url":"https://api.github.com/repos/angular/closure-to-dts/hooks","issue_events_url":"https://api.github.com/repos/angular/closure-to-dts/issues/events{/number}","events_url":"https://api.github.com/repos/angular/closure-to-dts/events","assignees_url":"https://api.github.com/repos/angular/closure-to-dts/assignees{/user}","branches_url":"https://api.github.com/repos/angular/closure-to-dts/branches{/branch}","tags_url":"https://api.github.com/repos/angular/closure-to-dts/tags","blobs_url":"https://api.github.com/repos/angular/closure-to-dts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/closure-to-dts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/closure-to-dts/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/closure-to-dts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/closure-to-dts/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/closure-to-dts/languages","stargazers_url":"https://api.github.com/repos/angular/closure-to-dts/stargazers","contributors_url":"https://api.github.com/repos/angular/closure-to-dts/contributors","subscribers_url":"https://api.github.com/repos/angular/closure-to-dts/subscribers","subscription_url":"https://api.github.com/repos/angular/closure-to-dts/subscription","commits_url":"https://api.github.com/repos/angular/closure-to-dts/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/closure-to-dts/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/closure-to-dts/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/closure-to-dts/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/closure-to-dts/contents/{+path}","compare_url":"https://api.github.com/repos/angular/closure-to-dts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/closure-to-dts/merges","archive_url":"https://api.github.com/repos/angular/closure-to-dts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/closure-to-dts/downloads","issues_url":"https://api.github.com/repos/angular/closure-to-dts/issues{/number}","pulls_url":"https://api.github.com/repos/angular/closure-to-dts/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/closure-to-dts/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/closure-to-dts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/closure-to-dts/labels{/name}","releases_url":"https://api.github.com/repos/angular/closure-to-dts/releases{/id}","created_at":"2015-02-20T17:52:24Z","updated_at":"2015-08-19T21:25:44Z","pushed_at":"2015-09-08T18:25:20Z","git_url":"git://github.com/angular/closure-to-dts.git","ssh_url":"git@github.com:angular/closure-to-dts.git","clone_url":"https://github.com/angular/closure-to-dts.git","svn_url":"https://github.com/angular/closure-to-dts","homepage":"","size":1045,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/closure-to-dts/pulls/85"},"html":{"href":"https://github.com/angular/closure-to-dts/pull/85"},"issue":{"href":"https://api.github.com/repos/angular/closure-to-dts/issues/85"},"comments":{"href":"https://api.github.com/repos/angular/closure-to-dts/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/closure-to-dts/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/closure-to-dts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/closure-to-dts/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/angular/closure-to-dts/statuses/f194636302e07b7048035da1a0a18b2dfe37ff26"}}}}