{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/yargs/yargs-parser/pulls/2","id":57610081,"html_url":"https://github.com/yargs/yargs-parser/pull/2","diff_url":"https://github.com/yargs/yargs-parser/pull/2.diff","patch_url":"https://github.com/yargs/yargs-parser/pull/2.patch","issue_url":"https://api.github.com/repos/yargs/yargs-parser/issues/2","number":2,"state":"open","locked":false,"title":"switch to app-root-path module","user":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"body":"the [app-root-path](https://www.npmjs.com/package/app-root-path) module is well tested, and seems to bring us closer to the behavior I was looking for.","created_at":"2016-01-29T06:11:56Z","updated_at":"2016-01-29T06:11:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yargs/yargs-parser/pulls/2/commits","review_comments_url":"https://api.github.com/repos/yargs/yargs-parser/pulls/2/comments","review_comment_url":"https://api.github.com/repos/yargs/yargs-parser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yargs/yargs-parser/issues/2/comments","statuses_url":"https://api.github.com/repos/yargs/yargs-parser/statuses/6aa47d9b5a01f58eef52eeb03ff7dfbe38dee41c","head":{"label":"yargs:app-root-path","ref":"app-root-path","sha":"6aa47d9b5a01f58eef52eeb03ff7dfbe38dee41c","user":{"login":"yargs","id":16504989,"avatar_url":"https://avatars.githubusercontent.com/u/16504989?v=3","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"repo":{"id":50258379,"name":"yargs-parser","full_name":"yargs/yargs-parser","owner":{"login":"yargs","id":16504989,"avatar_url":"https://avatars.githubusercontent.com/u/16504989?v=3","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yargs/yargs-parser","description":":muscle: the mighty option parser used by yargs","fork":false,"url":"https://api.github.com/repos/yargs/yargs-parser","forks_url":"https://api.github.com/repos/yargs/yargs-parser/forks","keys_url":"https://api.github.com/repos/yargs/yargs-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yargs/yargs-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yargs/yargs-parser/teams","hooks_url":"https://api.github.com/repos/yargs/yargs-parser/hooks","issue_events_url":"https://api.github.com/repos/yargs/yargs-parser/issues/events{/number}","events_url":"https://api.github.com/repos/yargs/yargs-parser/events","assignees_url":"https://api.github.com/repos/yargs/yargs-parser/assignees{/user}","branches_url":"https://api.github.com/repos/yargs/yargs-parser/branches{/branch}","tags_url":"https://api.github.com/repos/yargs/yargs-parser/tags","blobs_url":"https://api.github.com/repos/yargs/yargs-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yargs/yargs-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yargs/yargs-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/yargs/yargs-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yargs/yargs-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/yargs/yargs-parser/languages","stargazers_url":"https://api.github.com/repos/yargs/yargs-parser/stargazers","contributors_url":"https://api.github.com/repos/yargs/yargs-parser/contributors","subscribers_url":"https://api.github.com/repos/yargs/yargs-parser/subscribers","subscription_url":"https://api.github.com/repos/yargs/yargs-parser/subscription","commits_url":"https://api.github.com/repos/yargs/yargs-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/yargs/yargs-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/yargs/yargs-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/yargs/yargs-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/yargs/yargs-parser/contents/{+path}","compare_url":"https://api.github.com/repos/yargs/yargs-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yargs/yargs-parser/merges","archive_url":"https://api.github.com/repos/yargs/yargs-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yargs/yargs-parser/downloads","issues_url":"https://api.github.com/repos/yargs/yargs-parser/issues{/number}","pulls_url":"https://api.github.com/repos/yargs/yargs-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/yargs/yargs-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/yargs/yargs-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yargs/yargs-parser/labels{/name}","releases_url":"https://api.github.com/repos/yargs/yargs-parser/releases{/id}","deployments_url":"https://api.github.com/repos/yargs/yargs-parser/deployments","created_at":"2016-01-23T21:03:32Z","updated_at":"2016-01-25T16:25:34Z","pushed_at":"2016-01-29T06:10:50Z","git_url":"git://github.com/yargs/yargs-parser.git","ssh_url":"git@github.com:yargs/yargs-parser.git","clone_url":"https://github.com/yargs/yargs-parser.git","svn_url":"https://github.com/yargs/yargs-parser","homepage":"http://yargs.js.org/","size":43,"stargazers_count":19,"watchers_count":19,"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":19,"default_branch":"master"}},"base":{"label":"yargs:master","ref":"master","sha":"56a1e3b3f473b5111201bf3c024b7a823c764f4e","user":{"login":"yargs","id":16504989,"avatar_url":"https://avatars.githubusercontent.com/u/16504989?v=3","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"repo":{"id":50258379,"name":"yargs-parser","full_name":"yargs/yargs-parser","owner":{"login":"yargs","id":16504989,"avatar_url":"https://avatars.githubusercontent.com/u/16504989?v=3","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yargs/yargs-parser","description":":muscle: the mighty option parser used by yargs","fork":false,"url":"https://api.github.com/repos/yargs/yargs-parser","forks_url":"https://api.github.com/repos/yargs/yargs-parser/forks","keys_url":"https://api.github.com/repos/yargs/yargs-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yargs/yargs-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yargs/yargs-parser/teams","hooks_url":"https://api.github.com/repos/yargs/yargs-parser/hooks","issue_events_url":"https://api.github.com/repos/yargs/yargs-parser/issues/events{/number}","events_url":"https://api.github.com/repos/yargs/yargs-parser/events","assignees_url":"https://api.github.com/repos/yargs/yargs-parser/assignees{/user}","branches_url":"https://api.github.com/repos/yargs/yargs-parser/branches{/branch}","tags_url":"https://api.github.com/repos/yargs/yargs-parser/tags","blobs_url":"https://api.github.com/repos/yargs/yargs-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yargs/yargs-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yargs/yargs-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/yargs/yargs-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yargs/yargs-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/yargs/yargs-parser/languages","stargazers_url":"https://api.github.com/repos/yargs/yargs-parser/stargazers","contributors_url":"https://api.github.com/repos/yargs/yargs-parser/contributors","subscribers_url":"https://api.github.com/repos/yargs/yargs-parser/subscribers","subscription_url":"https://api.github.com/repos/yargs/yargs-parser/subscription","commits_url":"https://api.github.com/repos/yargs/yargs-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/yargs/yargs-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/yargs/yargs-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/yargs/yargs-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/yargs/yargs-parser/contents/{+path}","compare_url":"https://api.github.com/repos/yargs/yargs-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yargs/yargs-parser/merges","archive_url":"https://api.github.com/repos/yargs/yargs-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yargs/yargs-parser/downloads","issues_url":"https://api.github.com/repos/yargs/yargs-parser/issues{/number}","pulls_url":"https://api.github.com/repos/yargs/yargs-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/yargs/yargs-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/yargs/yargs-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yargs/yargs-parser/labels{/name}","releases_url":"https://api.github.com/repos/yargs/yargs-parser/releases{/id}","deployments_url":"https://api.github.com/repos/yargs/yargs-parser/deployments","created_at":"2016-01-23T21:03:32Z","updated_at":"2016-01-25T16:25:34Z","pushed_at":"2016-01-29T06:10:50Z","git_url":"git://github.com/yargs/yargs-parser.git","ssh_url":"git@github.com:yargs/yargs-parser.git","clone_url":"https://github.com/yargs/yargs-parser.git","svn_url":"https://github.com/yargs/yargs-parser","homepage":"http://yargs.js.org/","size":43,"stargazers_count":19,"watchers_count":19,"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":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yargs/yargs-parser/pulls/2"},"html":{"href":"https://github.com/yargs/yargs-parser/pull/2"},"issue":{"href":"https://api.github.com/repos/yargs/yargs-parser/issues/2"},"comments":{"href":"https://api.github.com/repos/yargs/yargs-parser/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/yargs/yargs-parser/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/yargs/yargs-parser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yargs/yargs-parser/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/yargs/yargs-parser/statuses/6aa47d9b5a01f58eef52eeb03ff7dfbe38dee41c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":2}}