Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide commands with false for description #190

Merged
merged 1 commit into from
Jun 28, 2015
Merged

Conversation

tschaub
Copy link
Contributor

@tschaub tschaub commented Jun 24, 2015

This makes it so calling yargs.command('some-command', false) will create a hidden command. Hidden commands are not shown in the help output and are not eligible for completion.

Fixes #188.

@bcoe
Copy link
Member

bcoe commented Jun 26, 2015

@tschaub this is great. I've been having a busy week, but will try to get a release out by early in the weekend.

@tschaub
Copy link
Contributor Author

tschaub commented Jun 26, 2015

No rush. Keep up the good work!

bcoe added a commit that referenced this pull request Jun 28, 2015
Hide commands with false for description
@bcoe bcoe merged commit ae91e11 into yargs:master Jun 28, 2015
@tschaub tschaub deleted the hidden-commands branch June 29, 2015 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants