{"action":"closed","number":1061,"pull_request":{"url":"https://api.github.com/repos/yargs/yargs/pulls/1061","id":165511093,"html_url":"https://github.com/yargs/yargs/pull/1061","diff_url":"https://github.com/yargs/yargs/pull/1061.diff","patch_url":"https://github.com/yargs/yargs/pull/1061.patch","issue_url":"https://api.github.com/repos/yargs/yargs/issues/1061","number":1061,"state":"closed","locked":false,"title":"feat: --show-hidden","user":{"login":"laggingreflex","id":2523987,"avatar_url":"https://avatars1.githubusercontent.com/u/2523987?v=4","gravatar_id":"","url":"https://api.github.com/users/laggingreflex","html_url":"https://github.com/laggingreflex","followers_url":"https://api.github.com/users/laggingreflex/followers","following_url":"https://api.github.com/users/laggingreflex/following{/other_user}","gists_url":"https://api.github.com/users/laggingreflex/gists{/gist_id}","starred_url":"https://api.github.com/users/laggingreflex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laggingreflex/subscriptions","organizations_url":"https://api.github.com/users/laggingreflex/orgs","repos_url":"https://api.github.com/users/laggingreflex/repos","events_url":"https://api.github.com/users/laggingreflex/events{/privacy}","received_events_url":"https://api.github.com/users/laggingreflex/received_events","type":"User","site_admin":false},"body":"Adds a `--show-hidden` flag to show options defined with `hidden: true` property\r\n\r\nRecap: (#962) Earlier, a fix was made to address the issue where `.options({...})` without a `description` property did not show up up in `--help`. The fix introduced a new `hidden: true` property to truly hide an option from `--help`, and to show all other options (even without `description` property)\r\n\r\nIssue with the fix: There was no way to show options defined with `hidden:true` property (they were hidden permanently)\r\n\r\nSolution (this patch): This introduces a new flag: `--show-hidden` (pre-configured) which can be used to show those hidden options.\r\n\r\nThe default key for this new flag may also be custom configured with a new function property `.showHidden('custom-show-hidden')`","created_at":"2018-01-27T09:38:50Z","updated_at":"2018-03-04T20:44:07Z","closed_at":"2018-03-04T20:44:07Z","merged_at":"2018-03-04T20:44:07Z","merge_commit_sha":"ea862ae551b8e973534c1fc0248bc85fd8a01c7a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"nexdrew","id":1929625,"avatar_url":"https://avatars1.githubusercontent.com/u/1929625?v=4","gravatar_id":"","url":"https://api.github.com/users/nexdrew","html_url":"https://github.com/nexdrew","followers_url":"https://api.github.com/users/nexdrew/followers","following_url":"https://api.github.com/users/nexdrew/following{/other_user}","gists_url":"https://api.github.com/users/nexdrew/gists{/gist_id}","starred_url":"https://api.github.com/users/nexdrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nexdrew/subscriptions","organizations_url":"https://api.github.com/users/nexdrew/orgs","repos_url":"https://api.github.com/users/nexdrew/repos","events_url":"https://api.github.com/users/nexdrew/events{/privacy}","received_events_url":"https://api.github.com/users/nexdrew/received_events","type":"User","site_admin":false},{"login":"elas7","id":7537033,"avatar_url":"https://avatars2.githubusercontent.com/u/7537033?v=4","gravatar_id":"","url":"https://api.github.com/users/elas7","html_url":"https://github.com/elas7","followers_url":"https://api.github.com/users/elas7/followers","following_url":"https://api.github.com/users/elas7/following{/other_user}","gists_url":"https://api.github.com/users/elas7/gists{/gist_id}","starred_url":"https://api.github.com/users/elas7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elas7/subscriptions","organizations_url":"https://api.github.com/users/elas7/orgs","repos_url":"https://api.github.com/users/elas7/repos","events_url":"https://api.github.com/users/elas7/events{/privacy}","received_events_url":"https://api.github.com/users/elas7/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/yargs/yargs/pulls/1061/commits","review_comments_url":"https://api.github.com/repos/yargs/yargs/pulls/1061/comments","review_comment_url":"https://api.github.com/repos/yargs/yargs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yargs/yargs/issues/1061/comments","statuses_url":"https://api.github.com/repos/yargs/yargs/statuses/af62bb6af12b00d8fd1b4e7be78fe60feb325433","head":{"label":"laggingreflex:fix/851-c","ref":"fix/851-c","sha":"af62bb6af12b00d8fd1b4e7be78fe60feb325433","user":{"login":"laggingreflex","id":2523987,"avatar_url":"https://avatars1.githubusercontent.com/u/2523987?v=4","gravatar_id":"","url":"https://api.github.com/users/laggingreflex","html_url":"https://github.com/laggingreflex","followers_url":"https://api.github.com/users/laggingreflex/followers","following_url":"https://api.github.com/users/laggingreflex/following{/other_user}","gists_url":"https://api.github.com/users/laggingreflex/gists{/gist_id}","starred_url":"https://api.github.com/users/laggingreflex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laggingreflex/subscriptions","organizations_url":"https://api.github.com/users/laggingreflex/orgs","repos_url":"https://api.github.com/users/laggingreflex/repos","events_url":"https://api.github.com/users/laggingreflex/events{/privacy}","received_events_url":"https://api.github.com/users/laggingreflex/received_events","type":"User","site_admin":false},"repo":{"id":69044946,"name":"yargs","full_name":"laggingreflex/yargs","owner":{"login":"laggingreflex","id":2523987,"avatar_url":"https://avatars1.githubusercontent.com/u/2523987?v=4","gravatar_id":"","url":"https://api.github.com/users/laggingreflex","html_url":"https://github.com/laggingreflex","followers_url":"https://api.github.com/users/laggingreflex/followers","following_url":"https://api.github.com/users/laggingreflex/following{/other_user}","gists_url":"https://api.github.com/users/laggingreflex/gists{/gist_id}","starred_url":"https://api.github.com/users/laggingreflex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laggingreflex/subscriptions","organizations_url":"https://api.github.com/users/laggingreflex/orgs","repos_url":"https://api.github.com/users/laggingreflex/repos","events_url":"https://api.github.com/users/laggingreflex/events{/privacy}","received_events_url":"https://api.github.com/users/laggingreflex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/laggingreflex/yargs","description":" yargs the modern, pirate-themed successor to optimist.","fork":true,"url":"https://api.github.com/repos/laggingreflex/yargs","forks_url":"https://api.github.com/repos/laggingreflex/yargs/forks","keys_url":"https://api.github.com/repos/laggingreflex/yargs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laggingreflex/yargs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laggingreflex/yargs/teams","hooks_url":"https://api.github.com/repos/laggingreflex/yargs/hooks","issue_events_url":"https://api.github.com/repos/laggingreflex/yargs/issues/events{/number}","events_url":"https://api.github.com/repos/laggingreflex/yargs/events","assignees_url":"https://api.github.com/repos/laggingreflex/yargs/assignees{/user}","branches_url":"https://api.github.com/repos/laggingreflex/yargs/branches{/branch}","tags_url":"https://api.github.com/repos/laggingreflex/yargs/tags","blobs_url":"https://api.github.com/repos/laggingreflex/yargs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laggingreflex/yargs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laggingreflex/yargs/git/refs{/sha}","trees_url":"https://api.github.com/repos/laggingreflex/yargs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laggingreflex/yargs/statuses/{sha}","languages_url":"https://api.github.com/repos/laggingreflex/yargs/languages","stargazers_url":"https://api.github.com/repos/laggingreflex/yargs/stargazers","contributors_url":"https://api.github.com/repos/laggingreflex/yargs/contributors","subscribers_url":"https://api.github.com/repos/laggingreflex/yargs/subscribers","subscription_url":"https://api.github.com/repos/laggingreflex/yargs/subscription","commits_url":"https://api.github.com/repos/laggingreflex/yargs/commits{/sha}","git_commits_url":"https://api.github.com/repos/laggingreflex/yargs/git/commits{/sha}","comments_url":"https://api.github.com/repos/laggingreflex/yargs/comments{/number}","issue_comment_url":"https://api.github.com/repos/laggingreflex/yargs/issues/comments{/number}","contents_url":"https://api.github.com/repos/laggingreflex/yargs/contents/{+path}","compare_url":"https://api.github.com/repos/laggingreflex/yargs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laggingreflex/yargs/merges","archive_url":"https://api.github.com/repos/laggingreflex/yargs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laggingreflex/yargs/downloads","issues_url":"https://api.github.com/repos/laggingreflex/yargs/issues{/number}","pulls_url":"https://api.github.com/repos/laggingreflex/yargs/pulls{/number}","milestones_url":"https://api.github.com/repos/laggingreflex/yargs/milestones{/number}","notifications_url":"https://api.github.com/repos/laggingreflex/yargs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laggingreflex/yargs/labels{/name}","releases_url":"https://api.github.com/repos/laggingreflex/yargs/releases{/id}","deployments_url":"https://api.github.com/repos/laggingreflex/yargs/deployments","created_at":"2016-09-23T17:07:22Z","updated_at":"2016-09-23T17:07:23Z","pushed_at":"2018-02-12T04:28:05Z","git_url":"git://github.com/laggingreflex/yargs.git","ssh_url":"git@github.com:laggingreflex/yargs.git","clone_url":"https://github.com/laggingreflex/yargs.git","svn_url":"https://github.com/laggingreflex/yargs","homepage":"http://yargs.js.org/","size":2127,"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":"yargs:master","ref":"master","sha":"a04678ca0ab9ac7119e6e72b2a657a8a3eaf7818","user":{"login":"yargs","id":16504989,"avatar_url":"https://avatars1.githubusercontent.com/u/16504989?v=4","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":14210523,"name":"yargs","full_name":"yargs/yargs","owner":{"login":"yargs","id":16504989,"avatar_url":"https://avatars1.githubusercontent.com/u/16504989?v=4","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","description":" yargs the modern, pirate-themed successor to optimist.","fork":false,"url":"https://api.github.com/repos/yargs/yargs","forks_url":"https://api.github.com/repos/yargs/yargs/forks","keys_url":"https://api.github.com/repos/yargs/yargs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yargs/yargs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yargs/yargs/teams","hooks_url":"https://api.github.com/repos/yargs/yargs/hooks","issue_events_url":"https://api.github.com/repos/yargs/yargs/issues/events{/number}","events_url":"https://api.github.com/repos/yargs/yargs/events","assignees_url":"https://api.github.com/repos/yargs/yargs/assignees{/user}","branches_url":"https://api.github.com/repos/yargs/yargs/branches{/branch}","tags_url":"https://api.github.com/repos/yargs/yargs/tags","blobs_url":"https://api.github.com/repos/yargs/yargs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yargs/yargs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yargs/yargs/git/refs{/sha}","trees_url":"https://api.github.com/repos/yargs/yargs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yargs/yargs/statuses/{sha}","languages_url":"https://api.github.com/repos/yargs/yargs/languages","stargazers_url":"https://api.github.com/repos/yargs/yargs/stargazers","contributors_url":"https://api.github.com/repos/yargs/yargs/contributors","subscribers_url":"https://api.github.com/repos/yargs/yargs/subscribers","subscription_url":"https://api.github.com/repos/yargs/yargs/subscription","commits_url":"https://api.github.com/repos/yargs/yargs/commits{/sha}","git_commits_url":"https://api.github.com/repos/yargs/yargs/git/commits{/sha}","comments_url":"https://api.github.com/repos/yargs/yargs/comments{/number}","issue_comment_url":"https://api.github.com/repos/yargs/yargs/issues/comments{/number}","contents_url":"https://api.github.com/repos/yargs/yargs/contents/{+path}","compare_url":"https://api.github.com/repos/yargs/yargs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yargs/yargs/merges","archive_url":"https://api.github.com/repos/yargs/yargs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yargs/yargs/downloads","issues_url":"https://api.github.com/repos/yargs/yargs/issues{/number}","pulls_url":"https://api.github.com/repos/yargs/yargs/pulls{/number}","milestones_url":"https://api.github.com/repos/yargs/yargs/milestones{/number}","notifications_url":"https://api.github.com/repos/yargs/yargs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yargs/yargs/labels{/name}","releases_url":"https://api.github.com/repos/yargs/yargs/releases{/id}","deployments_url":"https://api.github.com/repos/yargs/yargs/deployments","created_at":"2013-11-07T17:25:51Z","updated_at":"2018-03-04T20:33:12Z","pushed_at":"2018-03-04T20:44:07Z","git_url":"git://github.com/yargs/yargs.git","ssh_url":"git@github.com:yargs/yargs.git","clone_url":"https://github.com/yargs/yargs.git","svn_url":"https://github.com/yargs/yargs","homepage":"http://yargs.js.org/","size":2140,"stargazers_count":4185,"watchers_count":4185,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":359,"mirror_url":null,"archived":false,"open_issues_count":155,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":359,"open_issues":155,"watchers":4185,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yargs/yargs/pulls/1061"},"html":{"href":"https://github.com/yargs/yargs/pull/1061"},"issue":{"href":"https://api.github.com/repos/yargs/yargs/issues/1061"},"comments":{"href":"https://api.github.com/repos/yargs/yargs/issues/1061/comments"},"review_comments":{"href":"https://api.github.com/repos/yargs/yargs/pulls/1061/comments"},"review_comment":{"href":"https://api.github.com/repos/yargs/yargs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yargs/yargs/pulls/1061/commits"},"statuses":{"href":"https://api.github.com/repos/yargs/yargs/statuses/af62bb6af12b00d8fd1b4e7be78fe60feb325433"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"bcoe","id":194609,"avatar_url":"https://avatars3.githubusercontent.com/u/194609?v=4","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},"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":187,"deletions":13,"changed_files":5}}
{"actor":{"display_login":"bcoe"}}