{"action":"created","comment":{"url":"https://api.github.com/repos/sprintly/sprintly-search/pulls/comments/23113250","id":23113250,"diff_hunk":"@@ -0,0 +1,52 @@\n+var search = require('./index').search;","path":"lib/argparse.js","position":1,"original_position":1,"commit_id":"b97a3c2d4bcdcc40f0bfb055420758a1206d9020","original_commit_id":"b97a3c2d4bcdcc40f0bfb055420758a1206d9020","user":{"login":"justinabrahms","id":3853,"avatar_url":"https://avatars.githubusercontent.com/u/3853?v=3","gravatar_id":"","url":"https://api.github.com/users/justinabrahms","html_url":"https://github.com/justinabrahms","followers_url":"https://api.github.com/users/justinabrahms/followers","following_url":"https://api.github.com/users/justinabrahms/following{/other_user}","gists_url":"https://api.github.com/users/justinabrahms/gists{/gist_id}","starred_url":"https://api.github.com/users/justinabrahms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinabrahms/subscriptions","organizations_url":"https://api.github.com/users/justinabrahms/orgs","repos_url":"https://api.github.com/users/justinabrahms/repos","events_url":"https://api.github.com/users/justinabrahms/events{/privacy}","received_events_url":"https://api.github.com/users/justinabrahms/received_events","type":"User","site_admin":false},"body":"Can you name this file query.js? Its purpose is to provide a command line client for querying our search endpoint. Arg parsing is just a thing we need to do to get there.","created_at":"2015-01-16T22:12:22Z","updated_at":"2015-01-16T22:12:22Z","html_url":"https://github.com/sprintly/sprintly-search/pull/1#discussion_r23113250","pull_request_url":"https://api.github.com/repos/sprintly/sprintly-search/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/sprintly/sprintly-search/pulls/comments/23113250"},"html":{"href":"https://github.com/sprintly/sprintly-search/pull/1#discussion_r23113250"},"pull_request":{"href":"https://api.github.com/repos/sprintly/sprintly-search/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/sprintly/sprintly-search/pulls/1","id":27540081,"html_url":"https://github.com/sprintly/sprintly-search/pull/1","diff_url":"https://github.com/sprintly/sprintly-search/pull/1.diff","patch_url":"https://github.com/sprintly/sprintly-search/pull/1.patch","issue_url":"https://api.github.com/repos/sprintly/sprintly-search/issues/1","number":1,"state":"open","locked":false,"title":"Separate argparsing","user":{"login":"florapdx","id":1137259,"avatar_url":"https://avatars.githubusercontent.com/u/1137259?v=3","gravatar_id":"","url":"https://api.github.com/users/florapdx","html_url":"https://github.com/florapdx","followers_url":"https://api.github.com/users/florapdx/followers","following_url":"https://api.github.com/users/florapdx/following{/other_user}","gists_url":"https://api.github.com/users/florapdx/gists{/gist_id}","starred_url":"https://api.github.com/users/florapdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florapdx/subscriptions","organizations_url":"https://api.github.com/users/florapdx/orgs","repos_url":"https://api.github.com/users/florapdx/repos","events_url":"https://api.github.com/users/florapdx/events{/privacy}","received_events_url":"https://api.github.com/users/florapdx/received_events","type":"User","site_admin":false},"body":"Separate arg parsing out into separate file. Fixes fatal build errors on Sprintly views that use sprintly-search.","created_at":"2015-01-16T22:03:06Z","updated_at":"2015-01-16T22:12:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74edd40535d8dd6d4d40d19448de31115cf65cd1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sprintly/sprintly-search/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sprintly/sprintly-search/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sprintly/sprintly-search/pulls/comments/{number}","comments_url":"https://api.github.com/repos/sprintly/sprintly-search/issues/1/comments","statuses_url":"https://api.github.com/repos/sprintly/sprintly-search/statuses/b97a3c2d4bcdcc40f0bfb055420758a1206d9020","head":{"label":"florapdx:separate-argparsing","ref":"separate-argparsing","sha":"b97a3c2d4bcdcc40f0bfb055420758a1206d9020","user":{"login":"florapdx","id":1137259,"avatar_url":"https://avatars.githubusercontent.com/u/1137259?v=3","gravatar_id":"","url":"https://api.github.com/users/florapdx","html_url":"https://github.com/florapdx","followers_url":"https://api.github.com/users/florapdx/followers","following_url":"https://api.github.com/users/florapdx/following{/other_user}","gists_url":"https://api.github.com/users/florapdx/gists{/gist_id}","starred_url":"https://api.github.com/users/florapdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florapdx/subscriptions","organizations_url":"https://api.github.com/users/florapdx/orgs","repos_url":"https://api.github.com/users/florapdx/repos","events_url":"https://api.github.com/users/florapdx/events{/privacy}","received_events_url":"https://api.github.com/users/florapdx/received_events","type":"User","site_admin":false},"repo":{"id":29369442,"name":"sprintly-search","full_name":"florapdx/sprintly-search","owner":{"login":"florapdx","id":1137259,"avatar_url":"https://avatars.githubusercontent.com/u/1137259?v=3","gravatar_id":"","url":"https://api.github.com/users/florapdx","html_url":"https://github.com/florapdx","followers_url":"https://api.github.com/users/florapdx/followers","following_url":"https://api.github.com/users/florapdx/following{/other_user}","gists_url":"https://api.github.com/users/florapdx/gists{/gist_id}","starred_url":"https://api.github.com/users/florapdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florapdx/subscriptions","organizations_url":"https://api.github.com/users/florapdx/orgs","repos_url":"https://api.github.com/users/florapdx/repos","events_url":"https://api.github.com/users/florapdx/events{/privacy}","received_events_url":"https://api.github.com/users/florapdx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/florapdx/sprintly-search","description":"API client for sprintly's cross-product search interface.","fork":true,"url":"https://api.github.com/repos/florapdx/sprintly-search","forks_url":"https://api.github.com/repos/florapdx/sprintly-search/forks","keys_url":"https://api.github.com/repos/florapdx/sprintly-search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/florapdx/sprintly-search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/florapdx/sprintly-search/teams","hooks_url":"https://api.github.com/repos/florapdx/sprintly-search/hooks","issue_events_url":"https://api.github.com/repos/florapdx/sprintly-search/issues/events{/number}","events_url":"https://api.github.com/repos/florapdx/sprintly-search/events","assignees_url":"https://api.github.com/repos/florapdx/sprintly-search/assignees{/user}","branches_url":"https://api.github.com/repos/florapdx/sprintly-search/branches{/branch}","tags_url":"https://api.github.com/repos/florapdx/sprintly-search/tags","blobs_url":"https://api.github.com/repos/florapdx/sprintly-search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/florapdx/sprintly-search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/florapdx/sprintly-search/git/refs{/sha}","trees_url":"https://api.github.com/repos/florapdx/sprintly-search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/florapdx/sprintly-search/statuses/{sha}","languages_url":"https://api.github.com/repos/florapdx/sprintly-search/languages","stargazers_url":"https://api.github.com/repos/florapdx/sprintly-search/stargazers","contributors_url":"https://api.github.com/repos/florapdx/sprintly-search/contributors","subscribers_url":"https://api.github.com/repos/florapdx/sprintly-search/subscribers","subscription_url":"https://api.github.com/repos/florapdx/sprintly-search/subscription","commits_url":"https://api.github.com/repos/florapdx/sprintly-search/commits{/sha}","git_commits_url":"https://api.github.com/repos/florapdx/sprintly-search/git/commits{/sha}","comments_url":"https://api.github.com/repos/florapdx/sprintly-search/comments{/number}","issue_comment_url":"https://api.github.com/repos/florapdx/sprintly-search/issues/comments/{number}","contents_url":"https://api.github.com/repos/florapdx/sprintly-search/contents/{+path}","compare_url":"https://api.github.com/repos/florapdx/sprintly-search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/florapdx/sprintly-search/merges","archive_url":"https://api.github.com/repos/florapdx/sprintly-search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/florapdx/sprintly-search/downloads","issues_url":"https://api.github.com/repos/florapdx/sprintly-search/issues{/number}","pulls_url":"https://api.github.com/repos/florapdx/sprintly-search/pulls{/number}","milestones_url":"https://api.github.com/repos/florapdx/sprintly-search/milestones{/number}","notifications_url":"https://api.github.com/repos/florapdx/sprintly-search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/florapdx/sprintly-search/labels{/name}","releases_url":"https://api.github.com/repos/florapdx/sprintly-search/releases{/id}","created_at":"2015-01-16T21:52:24Z","updated_at":"2015-01-16T21:52:25Z","pushed_at":"2015-01-16T22:01:01Z","git_url":"git://github.com/florapdx/sprintly-search.git","ssh_url":"git@github.com:florapdx/sprintly-search.git","clone_url":"https://github.com/florapdx/sprintly-search.git","svn_url":"https://github.com/florapdx/sprintly-search","homepage":null,"size":90,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"sprintly:master","ref":"master","sha":"2b779afb5b6ce43ef20be35a9c7a8d82b2cf75ad","user":{"login":"sprintly","id":387934,"avatar_url":"https://avatars.githubusercontent.com/u/387934?v=3","gravatar_id":"","url":"https://api.github.com/users/sprintly","html_url":"https://github.com/sprintly","followers_url":"https://api.github.com/users/sprintly/followers","following_url":"https://api.github.com/users/sprintly/following{/other_user}","gists_url":"https://api.github.com/users/sprintly/gists{/gist_id}","starred_url":"https://api.github.com/users/sprintly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprintly/subscriptions","organizations_url":"https://api.github.com/users/sprintly/orgs","repos_url":"https://api.github.com/users/sprintly/repos","events_url":"https://api.github.com/users/sprintly/events{/privacy}","received_events_url":"https://api.github.com/users/sprintly/received_events","type":"Organization","site_admin":false},"repo":{"id":27937943,"name":"sprintly-search","full_name":"sprintly/sprintly-search","owner":{"login":"sprintly","id":387934,"avatar_url":"https://avatars.githubusercontent.com/u/387934?v=3","gravatar_id":"","url":"https://api.github.com/users/sprintly","html_url":"https://github.com/sprintly","followers_url":"https://api.github.com/users/sprintly/followers","following_url":"https://api.github.com/users/sprintly/following{/other_user}","gists_url":"https://api.github.com/users/sprintly/gists{/gist_id}","starred_url":"https://api.github.com/users/sprintly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprintly/subscriptions","organizations_url":"https://api.github.com/users/sprintly/orgs","repos_url":"https://api.github.com/users/sprintly/repos","events_url":"https://api.github.com/users/sprintly/events{/privacy}","received_events_url":"https://api.github.com/users/sprintly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sprintly/sprintly-search","description":"API client for sprintly's cross-product search interface.","fork":false,"url":"https://api.github.com/repos/sprintly/sprintly-search","forks_url":"https://api.github.com/repos/sprintly/sprintly-search/forks","keys_url":"https://api.github.com/repos/sprintly/sprintly-search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sprintly/sprintly-search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sprintly/sprintly-search/teams","hooks_url":"https://api.github.com/repos/sprintly/sprintly-search/hooks","issue_events_url":"https://api.github.com/repos/sprintly/sprintly-search/issues/events{/number}","events_url":"https://api.github.com/repos/sprintly/sprintly-search/events","assignees_url":"https://api.github.com/repos/sprintly/sprintly-search/assignees{/user}","branches_url":"https://api.github.com/repos/sprintly/sprintly-search/branches{/branch}","tags_url":"https://api.github.com/repos/sprintly/sprintly-search/tags","blobs_url":"https://api.github.com/repos/sprintly/sprintly-search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sprintly/sprintly-search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sprintly/sprintly-search/git/refs{/sha}","trees_url":"https://api.github.com/repos/sprintly/sprintly-search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sprintly/sprintly-search/statuses/{sha}","languages_url":"https://api.github.com/repos/sprintly/sprintly-search/languages","stargazers_url":"https://api.github.com/repos/sprintly/sprintly-search/stargazers","contributors_url":"https://api.github.com/repos/sprintly/sprintly-search/contributors","subscribers_url":"https://api.github.com/repos/sprintly/sprintly-search/subscribers","subscription_url":"https://api.github.com/repos/sprintly/sprintly-search/subscription","commits_url":"https://api.github.com/repos/sprintly/sprintly-search/commits{/sha}","git_commits_url":"https://api.github.com/repos/sprintly/sprintly-search/git/commits{/sha}","comments_url":"https://api.github.com/repos/sprintly/sprintly-search/comments{/number}","issue_comment_url":"https://api.github.com/repos/sprintly/sprintly-search/issues/comments/{number}","contents_url":"https://api.github.com/repos/sprintly/sprintly-search/contents/{+path}","compare_url":"https://api.github.com/repos/sprintly/sprintly-search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sprintly/sprintly-search/merges","archive_url":"https://api.github.com/repos/sprintly/sprintly-search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sprintly/sprintly-search/downloads","issues_url":"https://api.github.com/repos/sprintly/sprintly-search/issues{/number}","pulls_url":"https://api.github.com/repos/sprintly/sprintly-search/pulls{/number}","milestones_url":"https://api.github.com/repos/sprintly/sprintly-search/milestones{/number}","notifications_url":"https://api.github.com/repos/sprintly/sprintly-search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sprintly/sprintly-search/labels{/name}","releases_url":"https://api.github.com/repos/sprintly/sprintly-search/releases{/id}","created_at":"2014-12-12T21:00:46Z","updated_at":"2014-12-18T19:46:29Z","pushed_at":"2014-12-18T19:46:29Z","git_url":"git://github.com/sprintly/sprintly-search.git","ssh_url":"git@github.com:sprintly/sprintly-search.git","clone_url":"https://github.com/sprintly/sprintly-search.git","svn_url":"https://github.com/sprintly/sprintly-search","homepage":null,"size":148,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sprintly/sprintly-search/pulls/1"},"html":{"href":"https://github.com/sprintly/sprintly-search/pull/1"},"issue":{"href":"https://api.github.com/repos/sprintly/sprintly-search/issues/1"},"comments":{"href":"https://api.github.com/repos/sprintly/sprintly-search/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sprintly/sprintly-search/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sprintly/sprintly-search/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/sprintly/sprintly-search/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sprintly/sprintly-search/statuses/b97a3c2d4bcdcc40f0bfb055420758a1206d9020"}}}}