{"action":"created","comment":{"url":"https://api.github.com/repos/nolanlawson/slow-deps/pulls/comments/77365588","id":77365588,"diff_hunk":"@@ -26,17 +26,18 @@ var prettyMs = require('pretty-ms')\n var tablify = require('tablify').tablify\n var sum = require('math-sum')\n var ncp = denodeify(require('ncp'))\n+var yargs = require('yargs')\n temp.track()\n \n function getDeps () {\n   return readFile('package.json', 'utf8').then(function (str) {\n     var json = JSON.parse(str)\n     var deps = extend({}, json.dependencies)\n-    if (process.argv.indexOf('--production') === -1) {\n+    if (!argv[\"production\"]) {","path":"index.js","position":25,"original_position":12,"commit_id":"af9488710e982dc5db8c504b5312975d1ab9e04f","original_commit_id":"47c1ca4dd6af8b324c1f758eb8656863a8878def","user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"body":"OK, fair enough. Other issue though is that double-quotes will fail `standard` lint check, but I can fix that on the way in.","created_at":"2016-09-02T15:30:02Z","updated_at":"2016-09-02T15:30:02Z","html_url":"https://github.com/nolanlawson/slow-deps/pull/16#discussion_r77365588","pull_request_url":"https://api.github.com/repos/nolanlawson/slow-deps/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/nolanlawson/slow-deps/pulls/comments/77365588"},"html":{"href":"https://github.com/nolanlawson/slow-deps/pull/16#discussion_r77365588"},"pull_request":{"href":"https://api.github.com/repos/nolanlawson/slow-deps/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/nolanlawson/slow-deps/pulls/16","id":82438047,"html_url":"https://github.com/nolanlawson/slow-deps/pull/16","diff_url":"https://github.com/nolanlawson/slow-deps/pull/16.diff","patch_url":"https://github.com/nolanlawson/slow-deps/pull/16.patch","issue_url":"https://api.github.com/repos/nolanlawson/slow-deps/issues/16","number":16,"state":"open","locked":false,"title":"feature: Add yargs.argv to make better documentation for options","user":{"login":"sahildua2305","id":5206277,"avatar_url":"https://avatars.githubusercontent.com/u/5206277?v=3","gravatar_id":"","url":"https://api.github.com/users/sahildua2305","html_url":"https://github.com/sahildua2305","followers_url":"https://api.github.com/users/sahildua2305/followers","following_url":"https://api.github.com/users/sahildua2305/following{/other_user}","gists_url":"https://api.github.com/users/sahildua2305/gists{/gist_id}","starred_url":"https://api.github.com/users/sahildua2305/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahildua2305/subscriptions","organizations_url":"https://api.github.com/users/sahildua2305/orgs","repos_url":"https://api.github.com/users/sahildua2305/repos","events_url":"https://api.github.com/users/sahildua2305/events{/privacy}","received_events_url":"https://api.github.com/users/sahildua2305/received_events","type":"User","site_admin":false},"body":"/cc @nolanlawson ","created_at":"2016-08-23T20:47:35Z","updated_at":"2016-09-02T15:30:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"511925060ddaf1b237496289dd4aeaed24403aca","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nolanlawson/slow-deps/pulls/16/commits","review_comments_url":"https://api.github.com/repos/nolanlawson/slow-deps/pulls/16/comments","review_comment_url":"https://api.github.com/repos/nolanlawson/slow-deps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nolanlawson/slow-deps/issues/16/comments","statuses_url":"https://api.github.com/repos/nolanlawson/slow-deps/statuses/af9488710e982dc5db8c504b5312975d1ab9e04f","head":{"label":"sahildua2305:add-yargs-argv","ref":"add-yargs-argv","sha":"af9488710e982dc5db8c504b5312975d1ab9e04f","user":{"login":"sahildua2305","id":5206277,"avatar_url":"https://avatars.githubusercontent.com/u/5206277?v=3","gravatar_id":"","url":"https://api.github.com/users/sahildua2305","html_url":"https://github.com/sahildua2305","followers_url":"https://api.github.com/users/sahildua2305/followers","following_url":"https://api.github.com/users/sahildua2305/following{/other_user}","gists_url":"https://api.github.com/users/sahildua2305/gists{/gist_id}","starred_url":"https://api.github.com/users/sahildua2305/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahildua2305/subscriptions","organizations_url":"https://api.github.com/users/sahildua2305/orgs","repos_url":"https://api.github.com/users/sahildua2305/repos","events_url":"https://api.github.com/users/sahildua2305/events{/privacy}","received_events_url":"https://api.github.com/users/sahildua2305/received_events","type":"User","site_admin":false},"repo":{"id":66312246,"name":"slow-deps","full_name":"sahildua2305/slow-deps","owner":{"login":"sahildua2305","id":5206277,"avatar_url":"https://avatars.githubusercontent.com/u/5206277?v=3","gravatar_id":"","url":"https://api.github.com/users/sahildua2305","html_url":"https://github.com/sahildua2305","followers_url":"https://api.github.com/users/sahildua2305/followers","following_url":"https://api.github.com/users/sahildua2305/following{/other_user}","gists_url":"https://api.github.com/users/sahildua2305/gists{/gist_id}","starred_url":"https://api.github.com/users/sahildua2305/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahildua2305/subscriptions","organizations_url":"https://api.github.com/users/sahildua2305/orgs","repos_url":"https://api.github.com/users/sahildua2305/repos","events_url":"https://api.github.com/users/sahildua2305/events{/privacy}","received_events_url":"https://api.github.com/users/sahildua2305/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sahildua2305/slow-deps","description":"🐌 Measure which dependencies in a project are slowest to npm install","fork":true,"url":"https://api.github.com/repos/sahildua2305/slow-deps","forks_url":"https://api.github.com/repos/sahildua2305/slow-deps/forks","keys_url":"https://api.github.com/repos/sahildua2305/slow-deps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sahildua2305/slow-deps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sahildua2305/slow-deps/teams","hooks_url":"https://api.github.com/repos/sahildua2305/slow-deps/hooks","issue_events_url":"https://api.github.com/repos/sahildua2305/slow-deps/issues/events{/number}","events_url":"https://api.github.com/repos/sahildua2305/slow-deps/events","assignees_url":"https://api.github.com/repos/sahildua2305/slow-deps/assignees{/user}","branches_url":"https://api.github.com/repos/sahildua2305/slow-deps/branches{/branch}","tags_url":"https://api.github.com/repos/sahildua2305/slow-deps/tags","blobs_url":"https://api.github.com/repos/sahildua2305/slow-deps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sahildua2305/slow-deps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sahildua2305/slow-deps/git/refs{/sha}","trees_url":"https://api.github.com/repos/sahildua2305/slow-deps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sahildua2305/slow-deps/statuses/{sha}","languages_url":"https://api.github.com/repos/sahildua2305/slow-deps/languages","stargazers_url":"https://api.github.com/repos/sahildua2305/slow-deps/stargazers","contributors_url":"https://api.github.com/repos/sahildua2305/slow-deps/contributors","subscribers_url":"https://api.github.com/repos/sahildua2305/slow-deps/subscribers","subscription_url":"https://api.github.com/repos/sahildua2305/slow-deps/subscription","commits_url":"https://api.github.com/repos/sahildua2305/slow-deps/commits{/sha}","git_commits_url":"https://api.github.com/repos/sahildua2305/slow-deps/git/commits{/sha}","comments_url":"https://api.github.com/repos/sahildua2305/slow-deps/comments{/number}","issue_comment_url":"https://api.github.com/repos/sahildua2305/slow-deps/issues/comments{/number}","contents_url":"https://api.github.com/repos/sahildua2305/slow-deps/contents/{+path}","compare_url":"https://api.github.com/repos/sahildua2305/slow-deps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sahildua2305/slow-deps/merges","archive_url":"https://api.github.com/repos/sahildua2305/slow-deps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sahildua2305/slow-deps/downloads","issues_url":"https://api.github.com/repos/sahildua2305/slow-deps/issues{/number}","pulls_url":"https://api.github.com/repos/sahildua2305/slow-deps/pulls{/number}","milestones_url":"https://api.github.com/repos/sahildua2305/slow-deps/milestones{/number}","notifications_url":"https://api.github.com/repos/sahildua2305/slow-deps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sahildua2305/slow-deps/labels{/name}","releases_url":"https://api.github.com/repos/sahildua2305/slow-deps/releases{/id}","deployments_url":"https://api.github.com/repos/sahildua2305/slow-deps/deployments","created_at":"2016-08-22T22:17:56Z","updated_at":"2016-08-22T22:17:57Z","pushed_at":"2016-08-30T19:30:16Z","git_url":"git://github.com/sahildua2305/slow-deps.git","ssh_url":"git@github.com:sahildua2305/slow-deps.git","clone_url":"https://github.com/sahildua2305/slow-deps.git","svn_url":"https://github.com/sahildua2305/slow-deps","homepage":"","size":24,"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":"nolanlawson:master","ref":"master","sha":"5dfd015906ae69fe947d4c5efbd406aaa2a419fc","user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"repo":{"id":65972108,"name":"slow-deps","full_name":"nolanlawson/slow-deps","owner":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nolanlawson/slow-deps","description":"🐌 Measure which dependencies in a project are slowest to npm install","fork":false,"url":"https://api.github.com/repos/nolanlawson/slow-deps","forks_url":"https://api.github.com/repos/nolanlawson/slow-deps/forks","keys_url":"https://api.github.com/repos/nolanlawson/slow-deps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nolanlawson/slow-deps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nolanlawson/slow-deps/teams","hooks_url":"https://api.github.com/repos/nolanlawson/slow-deps/hooks","issue_events_url":"https://api.github.com/repos/nolanlawson/slow-deps/issues/events{/number}","events_url":"https://api.github.com/repos/nolanlawson/slow-deps/events","assignees_url":"https://api.github.com/repos/nolanlawson/slow-deps/assignees{/user}","branches_url":"https://api.github.com/repos/nolanlawson/slow-deps/branches{/branch}","tags_url":"https://api.github.com/repos/nolanlawson/slow-deps/tags","blobs_url":"https://api.github.com/repos/nolanlawson/slow-deps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nolanlawson/slow-deps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nolanlawson/slow-deps/git/refs{/sha}","trees_url":"https://api.github.com/repos/nolanlawson/slow-deps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nolanlawson/slow-deps/statuses/{sha}","languages_url":"https://api.github.com/repos/nolanlawson/slow-deps/languages","stargazers_url":"https://api.github.com/repos/nolanlawson/slow-deps/stargazers","contributors_url":"https://api.github.com/repos/nolanlawson/slow-deps/contributors","subscribers_url":"https://api.github.com/repos/nolanlawson/slow-deps/subscribers","subscription_url":"https://api.github.com/repos/nolanlawson/slow-deps/subscription","commits_url":"https://api.github.com/repos/nolanlawson/slow-deps/commits{/sha}","git_commits_url":"https://api.github.com/repos/nolanlawson/slow-deps/git/commits{/sha}","comments_url":"https://api.github.com/repos/nolanlawson/slow-deps/comments{/number}","issue_comment_url":"https://api.github.com/repos/nolanlawson/slow-deps/issues/comments{/number}","contents_url":"https://api.github.com/repos/nolanlawson/slow-deps/contents/{+path}","compare_url":"https://api.github.com/repos/nolanlawson/slow-deps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nolanlawson/slow-deps/merges","archive_url":"https://api.github.com/repos/nolanlawson/slow-deps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nolanlawson/slow-deps/downloads","issues_url":"https://api.github.com/repos/nolanlawson/slow-deps/issues{/number}","pulls_url":"https://api.github.com/repos/nolanlawson/slow-deps/pulls{/number}","milestones_url":"https://api.github.com/repos/nolanlawson/slow-deps/milestones{/number}","notifications_url":"https://api.github.com/repos/nolanlawson/slow-deps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nolanlawson/slow-deps/labels{/name}","releases_url":"https://api.github.com/repos/nolanlawson/slow-deps/releases{/id}","deployments_url":"https://api.github.com/repos/nolanlawson/slow-deps/deployments","created_at":"2016-08-18T06:43:04Z","updated_at":"2016-09-02T10:36:26Z","pushed_at":"2016-08-30T19:30:30Z","git_url":"git://github.com/nolanlawson/slow-deps.git","ssh_url":"git@github.com:nolanlawson/slow-deps.git","clone_url":"https://github.com/nolanlawson/slow-deps.git","svn_url":"https://github.com/nolanlawson/slow-deps","homepage":"","size":37,"stargazers_count":449,"watchers_count":449,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":9,"forks":9,"open_issues":9,"watchers":449,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nolanlawson/slow-deps/pulls/16"},"html":{"href":"https://github.com/nolanlawson/slow-deps/pull/16"},"issue":{"href":"https://api.github.com/repos/nolanlawson/slow-deps/issues/16"},"comments":{"href":"https://api.github.com/repos/nolanlawson/slow-deps/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/nolanlawson/slow-deps/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/nolanlawson/slow-deps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nolanlawson/slow-deps/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/nolanlawson/slow-deps/statuses/af9488710e982dc5db8c504b5312975d1ab9e04f"}}}}
{"actor":{"display_login":"nolanlawson"}}