{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/pulls/7","id":37632177,"html_url":"https://github.com/Turfjs/turf-point-on-surface/pull/7","diff_url":"https://github.com/Turfjs/turf-point-on-surface/pull/7.diff","patch_url":"https://github.com/Turfjs/turf-point-on-surface/pull/7.patch","issue_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/issues/7","number":7,"state":"open","locked":false,"title":"Cli Tool","user":{"login":"ingalls","id":1297009,"avatar_url":"https://avatars.githubusercontent.com/u/1297009?v=3","gravatar_id":"","url":"https://api.github.com/users/ingalls","html_url":"https://github.com/ingalls","followers_url":"https://api.github.com/users/ingalls/followers","following_url":"https://api.github.com/users/ingalls/following{/other_user}","gists_url":"https://api.github.com/users/ingalls/gists{/gist_id}","starred_url":"https://api.github.com/users/ingalls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingalls/subscriptions","organizations_url":"https://api.github.com/users/ingalls/orgs","repos_url":"https://api.github.com/users/ingalls/repos","events_url":"https://api.github.com/users/ingalls/events{/privacy}","received_events_url":"https://api.github.com/users/ingalls/received_events","type":"User","site_admin":false},"body":"Much of the data work that I do is a combination of bash and postgresql. Importing large geojson datasets into postgresql and then taking them back out for simple operations is overkill. This PR implements a streaming & filebased cli tool.\r\n\r\nFeatures:\r\n- Streaming input from stdin\r\n- Streaming output to stdout\r\n- file based input\r\n- file based output\r\n\r\ncc/ @morganherlocker Do you see this as living in the turf repository or should I create a separate repo of my own with cli tools for each function. (I plan on making a bunch of these)","created_at":"2015-06-13T22:06:38Z","updated_at":"2015-06-13T22:06:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/issues/7/comments","statuses_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/statuses/87a6b008daea0d12988dd850fcdeb68b91b61b9e","head":{"label":"ingalls:cli","ref":"cli","sha":"87a6b008daea0d12988dd850fcdeb68b91b61b9e","user":{"login":"ingalls","id":1297009,"avatar_url":"https://avatars.githubusercontent.com/u/1297009?v=3","gravatar_id":"","url":"https://api.github.com/users/ingalls","html_url":"https://github.com/ingalls","followers_url":"https://api.github.com/users/ingalls/followers","following_url":"https://api.github.com/users/ingalls/following{/other_user}","gists_url":"https://api.github.com/users/ingalls/gists{/gist_id}","starred_url":"https://api.github.com/users/ingalls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingalls/subscriptions","organizations_url":"https://api.github.com/users/ingalls/orgs","repos_url":"https://api.github.com/users/ingalls/repos","events_url":"https://api.github.com/users/ingalls/events{/privacy}","received_events_url":"https://api.github.com/users/ingalls/received_events","type":"User","site_admin":false},"repo":{"id":37370448,"name":"turf-point-on-surface","full_name":"ingalls/turf-point-on-surface","owner":{"login":"ingalls","id":1297009,"avatar_url":"https://avatars.githubusercontent.com/u/1297009?v=3","gravatar_id":"","url":"https://api.github.com/users/ingalls","html_url":"https://github.com/ingalls","followers_url":"https://api.github.com/users/ingalls/followers","following_url":"https://api.github.com/users/ingalls/following{/other_user}","gists_url":"https://api.github.com/users/ingalls/gists{/gist_id}","starred_url":"https://api.github.com/users/ingalls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingalls/subscriptions","organizations_url":"https://api.github.com/users/ingalls/orgs","repos_url":"https://api.github.com/users/ingalls/repos","events_url":"https://api.github.com/users/ingalls/events{/privacy}","received_events_url":"https://api.github.com/users/ingalls/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ingalls/turf-point-on-surface","description":"Find the points on a surface that are closest to the origin","fork":true,"url":"https://api.github.com/repos/ingalls/turf-point-on-surface","forks_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/forks","keys_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/teams","hooks_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/hooks","issue_events_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/issues/events{/number}","events_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/events","assignees_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/assignees{/user}","branches_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/branches{/branch}","tags_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/tags","blobs_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/git/refs{/sha}","trees_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/statuses/{sha}","languages_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/languages","stargazers_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/stargazers","contributors_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/contributors","subscribers_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/subscribers","subscription_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/subscription","commits_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/commits{/sha}","git_commits_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/git/commits{/sha}","comments_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/comments{/number}","issue_comment_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/issues/comments{/number}","contents_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/contents/{+path}","compare_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/merges","archive_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/downloads","issues_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/issues{/number}","pulls_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/pulls{/number}","milestones_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/milestones{/number}","notifications_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/labels{/name}","releases_url":"https://api.github.com/repos/ingalls/turf-point-on-surface/releases{/id}","created_at":"2015-06-13T12:20:50Z","updated_at":"2015-06-13T12:20:51Z","pushed_at":"2015-06-13T21:58:53Z","git_url":"git://github.com/ingalls/turf-point-on-surface.git","ssh_url":"git@github.com:ingalls/turf-point-on-surface.git","clone_url":"https://github.com/ingalls/turf-point-on-surface.git","svn_url":"https://github.com/ingalls/turf-point-on-surface","homepage":"","size":97,"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":"Turfjs:master","ref":"master","sha":"5eb0c1ec4d01eec7ef95da79b44b93fe1f32d4ac","user":{"login":"Turfjs","id":7736769,"avatar_url":"https://avatars.githubusercontent.com/u/7736769?v=3","gravatar_id":"","url":"https://api.github.com/users/Turfjs","html_url":"https://github.com/Turfjs","followers_url":"https://api.github.com/users/Turfjs/followers","following_url":"https://api.github.com/users/Turfjs/following{/other_user}","gists_url":"https://api.github.com/users/Turfjs/gists{/gist_id}","starred_url":"https://api.github.com/users/Turfjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Turfjs/subscriptions","organizations_url":"https://api.github.com/users/Turfjs/orgs","repos_url":"https://api.github.com/users/Turfjs/repos","events_url":"https://api.github.com/users/Turfjs/events{/privacy}","received_events_url":"https://api.github.com/users/Turfjs/received_events","type":"Organization","site_admin":false},"repo":{"id":24950571,"name":"turf-point-on-surface","full_name":"Turfjs/turf-point-on-surface","owner":{"login":"Turfjs","id":7736769,"avatar_url":"https://avatars.githubusercontent.com/u/7736769?v=3","gravatar_id":"","url":"https://api.github.com/users/Turfjs","html_url":"https://github.com/Turfjs","followers_url":"https://api.github.com/users/Turfjs/followers","following_url":"https://api.github.com/users/Turfjs/following{/other_user}","gists_url":"https://api.github.com/users/Turfjs/gists{/gist_id}","starred_url":"https://api.github.com/users/Turfjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Turfjs/subscriptions","organizations_url":"https://api.github.com/users/Turfjs/orgs","repos_url":"https://api.github.com/users/Turfjs/repos","events_url":"https://api.github.com/users/Turfjs/events{/privacy}","received_events_url":"https://api.github.com/users/Turfjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Turfjs/turf-point-on-surface","description":"Find the points on a surface that are closest to the origin","fork":false,"url":"https://api.github.com/repos/Turfjs/turf-point-on-surface","forks_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/forks","keys_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/teams","hooks_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/hooks","issue_events_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/issues/events{/number}","events_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/events","assignees_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/assignees{/user}","branches_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/branches{/branch}","tags_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/tags","blobs_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/git/refs{/sha}","trees_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/statuses/{sha}","languages_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/languages","stargazers_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/stargazers","contributors_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/contributors","subscribers_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/subscribers","subscription_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/subscription","commits_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/commits{/sha}","git_commits_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/git/commits{/sha}","comments_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/comments{/number}","issue_comment_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/issues/comments{/number}","contents_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/contents/{+path}","compare_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/merges","archive_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/downloads","issues_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/issues{/number}","pulls_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/pulls{/number}","milestones_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/milestones{/number}","notifications_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/labels{/name}","releases_url":"https://api.github.com/repos/Turfjs/turf-point-on-surface/releases{/id}","created_at":"2014-10-08T16:50:18Z","updated_at":"2015-06-13T12:19:42Z","pushed_at":"2015-03-29T22:35:19Z","git_url":"git://github.com/Turfjs/turf-point-on-surface.git","ssh_url":"git@github.com:Turfjs/turf-point-on-surface.git","clone_url":"https://github.com/Turfjs/turf-point-on-surface.git","svn_url":"https://github.com/Turfjs/turf-point-on-surface","homepage":"","size":328,"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":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Turfjs/turf-point-on-surface/pulls/7"},"html":{"href":"https://github.com/Turfjs/turf-point-on-surface/pull/7"},"issue":{"href":"https://api.github.com/repos/Turfjs/turf-point-on-surface/issues/7"},"comments":{"href":"https://api.github.com/repos/Turfjs/turf-point-on-surface/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Turfjs/turf-point-on-surface/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Turfjs/turf-point-on-surface/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Turfjs/turf-point-on-surface/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Turfjs/turf-point-on-surface/statuses/87a6b008daea0d12988dd850fcdeb68b91b61b9e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":124,"deletions":3,"changed_files":10}}