{"action":"created","comment":{"url":"https://api.github.com/repos/DanielDwyer/terminews/pulls/comments/223535566","pull_request_review_id":162686387,"id":223535566,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzUzNTU2Ng==","diff_hunk":"@@ -0,0 +1,13 @@\n+const findArticleFlag = args => {\n+  let flag;\n+  if (args[1] && args[1].charAt(0) === '-') flag = args[1].slice(1)\n+  else if (args[2] && args[2].charAt(0) === '-') flag = args[2].slice(1)","path":"utilities.js","position":4,"original_position":4,"commit_id":"a7401df795fb67955e9d16b77252d521eb984f8a","original_commit_id":"a7401df795fb67955e9d16b77252d521eb984f8a","user":{"login":"DanielDwyer","id":17033377,"node_id":"MDQ6VXNlcjE3MDMzMzc3","avatar_url":"https://avatars3.githubusercontent.com/u/17033377?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielDwyer","html_url":"https://github.com/DanielDwyer","followers_url":"https://api.github.com/users/DanielDwyer/followers","following_url":"https://api.github.com/users/DanielDwyer/following{/other_user}","gists_url":"https://api.github.com/users/DanielDwyer/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielDwyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielDwyer/subscriptions","organizations_url":"https://api.github.com/users/DanielDwyer/orgs","repos_url":"https://api.github.com/users/DanielDwyer/repos","events_url":"https://api.github.com/users/DanielDwyer/events{/privacy}","received_events_url":"https://api.github.com/users/DanielDwyer/received_events","type":"User","site_admin":false},"body":"I also see value in having the ability to run $ node index.js -3","created_at":"2018-10-09T00:59:28Z","updated_at":"2018-10-09T00:59:29Z","html_url":"https://github.com/DanielDwyer/terminews/pull/5#discussion_r223535566","pull_request_url":"https://api.github.com/repos/DanielDwyer/terminews/pulls/5","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/DanielDwyer/terminews/pulls/comments/223535566"},"html":{"href":"https://github.com/DanielDwyer/terminews/pull/5#discussion_r223535566"},"pull_request":{"href":"https://api.github.com/repos/DanielDwyer/terminews/pulls/5"}},"in_reply_to_id":222886453},"pull_request":{"url":"https://api.github.com/repos/DanielDwyer/terminews/pulls/5","id":220578985,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNTc4OTg1","html_url":"https://github.com/DanielDwyer/terminews/pull/5","diff_url":"https://github.com/DanielDwyer/terminews/pull/5.diff","patch_url":"https://github.com/DanielDwyer/terminews/pull/5.patch","issue_url":"https://api.github.com/repos/DanielDwyer/terminews/issues/5","number":5,"state":"closed","locked":false,"title":"Add flag to chose number of articles","user":{"login":"jenniferwiner","id":22737121,"node_id":"MDQ6VXNlcjIyNzM3MTIx","avatar_url":"https://avatars0.githubusercontent.com/u/22737121?v=4","gravatar_id":"","url":"https://api.github.com/users/jenniferwiner","html_url":"https://github.com/jenniferwiner","followers_url":"https://api.github.com/users/jenniferwiner/followers","following_url":"https://api.github.com/users/jenniferwiner/following{/other_user}","gists_url":"https://api.github.com/users/jenniferwiner/gists{/gist_id}","starred_url":"https://api.github.com/users/jenniferwiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenniferwiner/subscriptions","organizations_url":"https://api.github.com/users/jenniferwiner/orgs","repos_url":"https://api.github.com/users/jenniferwiner/repos","events_url":"https://api.github.com/users/jenniferwiner/events{/privacy}","received_events_url":"https://api.github.com/users/jenniferwiner/received_events","type":"User","site_admin":false},"body":"Closes #2 ","created_at":"2018-10-05T03:54:56Z","updated_at":"2018-10-09T00:59:29Z","closed_at":"2018-10-09T00:57:44Z","merged_at":"2018-10-09T00:57:44Z","merge_commit_sha":"2e26754a34a631088ae3f080c17d9f9f61c33f47","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DanielDwyer/terminews/pulls/5/commits","review_comments_url":"https://api.github.com/repos/DanielDwyer/terminews/pulls/5/comments","review_comment_url":"https://api.github.com/repos/DanielDwyer/terminews/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DanielDwyer/terminews/issues/5/comments","statuses_url":"https://api.github.com/repos/DanielDwyer/terminews/statuses/a7401df795fb67955e9d16b77252d521eb984f8a","head":{"label":"jenniferwiner:master","ref":"master","sha":"a7401df795fb67955e9d16b77252d521eb984f8a","user":{"login":"jenniferwiner","id":22737121,"node_id":"MDQ6VXNlcjIyNzM3MTIx","avatar_url":"https://avatars0.githubusercontent.com/u/22737121?v=4","gravatar_id":"","url":"https://api.github.com/users/jenniferwiner","html_url":"https://github.com/jenniferwiner","followers_url":"https://api.github.com/users/jenniferwiner/followers","following_url":"https://api.github.com/users/jenniferwiner/following{/other_user}","gists_url":"https://api.github.com/users/jenniferwiner/gists{/gist_id}","starred_url":"https://api.github.com/users/jenniferwiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenniferwiner/subscriptions","organizations_url":"https://api.github.com/users/jenniferwiner/orgs","repos_url":"https://api.github.com/users/jenniferwiner/repos","events_url":"https://api.github.com/users/jenniferwiner/events{/privacy}","received_events_url":"https://api.github.com/users/jenniferwiner/received_events","type":"User","site_admin":false},"repo":{"id":151662430,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE2NjI0MzA=","name":"terminews","full_name":"jenniferwiner/terminews","private":false,"owner":{"login":"jenniferwiner","id":22737121,"node_id":"MDQ6VXNlcjIyNzM3MTIx","avatar_url":"https://avatars0.githubusercontent.com/u/22737121?v=4","gravatar_id":"","url":"https://api.github.com/users/jenniferwiner","html_url":"https://github.com/jenniferwiner","followers_url":"https://api.github.com/users/jenniferwiner/followers","following_url":"https://api.github.com/users/jenniferwiner/following{/other_user}","gists_url":"https://api.github.com/users/jenniferwiner/gists{/gist_id}","starred_url":"https://api.github.com/users/jenniferwiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenniferwiner/subscriptions","organizations_url":"https://api.github.com/users/jenniferwiner/orgs","repos_url":"https://api.github.com/users/jenniferwiner/repos","events_url":"https://api.github.com/users/jenniferwiner/events{/privacy}","received_events_url":"https://api.github.com/users/jenniferwiner/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jenniferwiner/terminews","description":"NPM Package. Keep up with the headlines right in your terminal. All with a single command, $ news . Read an assortment of headlines with links to articles.","fork":true,"url":"https://api.github.com/repos/jenniferwiner/terminews","forks_url":"https://api.github.com/repos/jenniferwiner/terminews/forks","keys_url":"https://api.github.com/repos/jenniferwiner/terminews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenniferwiner/terminews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenniferwiner/terminews/teams","hooks_url":"https://api.github.com/repos/jenniferwiner/terminews/hooks","issue_events_url":"https://api.github.com/repos/jenniferwiner/terminews/issues/events{/number}","events_url":"https://api.github.com/repos/jenniferwiner/terminews/events","assignees_url":"https://api.github.com/repos/jenniferwiner/terminews/assignees{/user}","branches_url":"https://api.github.com/repos/jenniferwiner/terminews/branches{/branch}","tags_url":"https://api.github.com/repos/jenniferwiner/terminews/tags","blobs_url":"https://api.github.com/repos/jenniferwiner/terminews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenniferwiner/terminews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenniferwiner/terminews/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenniferwiner/terminews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenniferwiner/terminews/statuses/{sha}","languages_url":"https://api.github.com/repos/jenniferwiner/terminews/languages","stargazers_url":"https://api.github.com/repos/jenniferwiner/terminews/stargazers","contributors_url":"https://api.github.com/repos/jenniferwiner/terminews/contributors","subscribers_url":"https://api.github.com/repos/jenniferwiner/terminews/subscribers","subscription_url":"https://api.github.com/repos/jenniferwiner/terminews/subscription","commits_url":"https://api.github.com/repos/jenniferwiner/terminews/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenniferwiner/terminews/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenniferwiner/terminews/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenniferwiner/terminews/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenniferwiner/terminews/contents/{+path}","compare_url":"https://api.github.com/repos/jenniferwiner/terminews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenniferwiner/terminews/merges","archive_url":"https://api.github.com/repos/jenniferwiner/terminews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenniferwiner/terminews/downloads","issues_url":"https://api.github.com/repos/jenniferwiner/terminews/issues{/number}","pulls_url":"https://api.github.com/repos/jenniferwiner/terminews/pulls{/number}","milestones_url":"https://api.github.com/repos/jenniferwiner/terminews/milestones{/number}","notifications_url":"https://api.github.com/repos/jenniferwiner/terminews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenniferwiner/terminews/labels{/name}","releases_url":"https://api.github.com/repos/jenniferwiner/terminews/releases{/id}","deployments_url":"https://api.github.com/repos/jenniferwiner/terminews/deployments","created_at":"2018-10-05T02:40:29Z","updated_at":"2018-10-05T03:54:07Z","pushed_at":"2018-10-05T03:54:06Z","git_url":"git://github.com/jenniferwiner/terminews.git","ssh_url":"git@github.com:jenniferwiner/terminews.git","clone_url":"https://github.com/jenniferwiner/terminews.git","svn_url":"https://github.com/jenniferwiner/terminews","homepage":"","size":93,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DanielDwyer:master","ref":"master","sha":"26c71ebbef5d8c05fe90ae2f4c954cccd71580c1","user":{"login":"DanielDwyer","id":17033377,"node_id":"MDQ6VXNlcjE3MDMzMzc3","avatar_url":"https://avatars3.githubusercontent.com/u/17033377?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielDwyer","html_url":"https://github.com/DanielDwyer","followers_url":"https://api.github.com/users/DanielDwyer/followers","following_url":"https://api.github.com/users/DanielDwyer/following{/other_user}","gists_url":"https://api.github.com/users/DanielDwyer/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielDwyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielDwyer/subscriptions","organizations_url":"https://api.github.com/users/DanielDwyer/orgs","repos_url":"https://api.github.com/users/DanielDwyer/repos","events_url":"https://api.github.com/users/DanielDwyer/events{/privacy}","received_events_url":"https://api.github.com/users/DanielDwyer/received_events","type":"User","site_admin":false},"repo":{"id":149984923,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk5ODQ5MjM=","name":"terminews","full_name":"DanielDwyer/terminews","private":false,"owner":{"login":"DanielDwyer","id":17033377,"node_id":"MDQ6VXNlcjE3MDMzMzc3","avatar_url":"https://avatars3.githubusercontent.com/u/17033377?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielDwyer","html_url":"https://github.com/DanielDwyer","followers_url":"https://api.github.com/users/DanielDwyer/followers","following_url":"https://api.github.com/users/DanielDwyer/following{/other_user}","gists_url":"https://api.github.com/users/DanielDwyer/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielDwyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielDwyer/subscriptions","organizations_url":"https://api.github.com/users/DanielDwyer/orgs","repos_url":"https://api.github.com/users/DanielDwyer/repos","events_url":"https://api.github.com/users/DanielDwyer/events{/privacy}","received_events_url":"https://api.github.com/users/DanielDwyer/received_events","type":"User","site_admin":false},"html_url":"https://github.com/DanielDwyer/terminews","description":"NPM Package. Keep up with the headlines right in your terminal. All with a single command, $ news . Read an assortment of headlines with links to articles.","fork":false,"url":"https://api.github.com/repos/DanielDwyer/terminews","forks_url":"https://api.github.com/repos/DanielDwyer/terminews/forks","keys_url":"https://api.github.com/repos/DanielDwyer/terminews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanielDwyer/terminews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanielDwyer/terminews/teams","hooks_url":"https://api.github.com/repos/DanielDwyer/terminews/hooks","issue_events_url":"https://api.github.com/repos/DanielDwyer/terminews/issues/events{/number}","events_url":"https://api.github.com/repos/DanielDwyer/terminews/events","assignees_url":"https://api.github.com/repos/DanielDwyer/terminews/assignees{/user}","branches_url":"https://api.github.com/repos/DanielDwyer/terminews/branches{/branch}","tags_url":"https://api.github.com/repos/DanielDwyer/terminews/tags","blobs_url":"https://api.github.com/repos/DanielDwyer/terminews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanielDwyer/terminews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanielDwyer/terminews/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanielDwyer/terminews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanielDwyer/terminews/statuses/{sha}","languages_url":"https://api.github.com/repos/DanielDwyer/terminews/languages","stargazers_url":"https://api.github.com/repos/DanielDwyer/terminews/stargazers","contributors_url":"https://api.github.com/repos/DanielDwyer/terminews/contributors","subscribers_url":"https://api.github.com/repos/DanielDwyer/terminews/subscribers","subscription_url":"https://api.github.com/repos/DanielDwyer/terminews/subscription","commits_url":"https://api.github.com/repos/DanielDwyer/terminews/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanielDwyer/terminews/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanielDwyer/terminews/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanielDwyer/terminews/issues/comments{/number}","contents_url":"https://api.github.com/repos/DanielDwyer/terminews/contents/{+path}","compare_url":"https://api.github.com/repos/DanielDwyer/terminews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanielDwyer/terminews/merges","archive_url":"https://api.github.com/repos/DanielDwyer/terminews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanielDwyer/terminews/downloads","issues_url":"https://api.github.com/repos/DanielDwyer/terminews/issues{/number}","pulls_url":"https://api.github.com/repos/DanielDwyer/terminews/pulls{/number}","milestones_url":"https://api.github.com/repos/DanielDwyer/terminews/milestones{/number}","notifications_url":"https://api.github.com/repos/DanielDwyer/terminews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanielDwyer/terminews/labels{/name}","releases_url":"https://api.github.com/repos/DanielDwyer/terminews/releases{/id}","deployments_url":"https://api.github.com/repos/DanielDwyer/terminews/deployments","created_at":"2018-09-23T13:02:15Z","updated_at":"2018-10-09T00:57:46Z","pushed_at":"2018-10-09T00:57:45Z","git_url":"git://github.com/DanielDwyer/terminews.git","ssh_url":"git@github.com:DanielDwyer/terminews.git","clone_url":"https://github.com/DanielDwyer/terminews.git","svn_url":"https://github.com/DanielDwyer/terminews","homepage":"","size":90,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":2,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DanielDwyer/terminews/pulls/5"},"html":{"href":"https://github.com/DanielDwyer/terminews/pull/5"},"issue":{"href":"https://api.github.com/repos/DanielDwyer/terminews/issues/5"},"comments":{"href":"https://api.github.com/repos/DanielDwyer/terminews/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/DanielDwyer/terminews/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/DanielDwyer/terminews/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DanielDwyer/terminews/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/DanielDwyer/terminews/statuses/a7401df795fb67955e9d16b77252d521eb984f8a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"DanielDwyer"}}