{"action":"created","issue":{"url":"https://api.github.com/repos/docopt/docopt/issues/232","labels_url":"https://api.github.com/repos/docopt/docopt/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/docopt/docopt/issues/232/comments","events_url":"https://api.github.com/repos/docopt/docopt/issues/232/events","html_url":"https://github.com/docopt/docopt/issues/232","id":47911336,"number":232,"title":"Support for hidden commands - Feature Request","user":{"login":"alexd-siaras","id":6529515,"avatar_url":"https://avatars.githubusercontent.com/u/6529515?v=3","gravatar_id":"","url":"https://api.github.com/users/alexd-siaras","html_url":"https://github.com/alexd-siaras","followers_url":"https://api.github.com/users/alexd-siaras/followers","following_url":"https://api.github.com/users/alexd-siaras/following{/other_user}","gists_url":"https://api.github.com/users/alexd-siaras/gists{/gist_id}","starred_url":"https://api.github.com/users/alexd-siaras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexd-siaras/subscriptions","organizations_url":"https://api.github.com/users/alexd-siaras/orgs","repos_url":"https://api.github.com/users/alexd-siaras/repos","events_url":"https://api.github.com/users/alexd-siaras/events{/privacy}","received_events_url":"https://api.github.com/users/alexd-siaras/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-11-06T01:08:32Z","updated_at":"2015-02-25T21:08:55Z","closed_at":null,"body":"First off, docopts is incredible. It has made my team's life so much easier when we are putting together command line applications.\r\n\r\nOne omission that it would be great to have is to have support for hidden options (options that do not show up in the usage, but are parsed anyways).  We have a number of scripts that have some debug options that we use in house, but are not ready for prime time, and we have hid those from the end user.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docopt/docopt/issues/comments/76058781","html_url":"https://github.com/docopt/docopt/issues/232#issuecomment-76058781","issue_url":"https://api.github.com/repos/docopt/docopt/issues/232","id":76058781,"user":{"login":"keleshev","id":619158,"avatar_url":"https://avatars.githubusercontent.com/u/619158?v=3","gravatar_id":"","url":"https://api.github.com/users/keleshev","html_url":"https://github.com/keleshev","followers_url":"https://api.github.com/users/keleshev/followers","following_url":"https://api.github.com/users/keleshev/following{/other_user}","gists_url":"https://api.github.com/users/keleshev/gists{/gist_id}","starred_url":"https://api.github.com/users/keleshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keleshev/subscriptions","organizations_url":"https://api.github.com/users/keleshev/orgs","repos_url":"https://api.github.com/users/keleshev/repos","events_url":"https://api.github.com/users/keleshev/events{/privacy}","received_events_url":"https://api.github.com/users/keleshev/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T21:08:55Z","updated_at":"2015-02-25T21:08:55Z","body":"Another workaround I thought about is to use `help=False`, and manually print the redacted help. If you want hidden options/commands in the Usage-section too, then you can catch `DocoptExit` and print a redacted usage.\r\n\r\nYeah, maybe we should have a page with \"docopt recipes\" or something that describes how to use docopt in rare cases like this one."}}