Skip to content

Conversation

CreepyGnome
Copy link
Contributor

The attribute Hidden has been added to OptionAttribute, ValueAttribute,
and VerbAttribute. By default it is false.

Changes to support this new attribute so that if hidden it is not
visible in the help text, but is still usable if called correctly. If
you ask for help on a hidden verb you will get the help displayed but
hidden options will still be hidden. Allowing for hidden verbs with not
hidden options.

Resolves issue #263

I would really recommend some additional real world testing over and above what I have done. If @gfody @otherdave and/or @nemec could help with that I would really appreciate the extra testing effort on this new feature.

The attribute Hidden has been added to OptionAttribute, ValueAttribute,
and VerbAttribute.  By default it is false.

Changes to support this new attribute so that if hidden it is not
visible in the help text, but is still usable if called correctly. If
you ask for help on a hidden verb you will get the help displayed but
hidden options will still be hidden. Allowing for hidden verbs with not
hidden options.

Resolves issue gsscoder#263
@igloo15
Copy link

igloo15 commented Jul 27, 2016

I think this is a great feature. I was looking for something like this as well to manage the clutter of help screen with lots of verbs. Please Merge

@nemec
Copy link
Collaborator

nemec commented Jul 27, 2016

Hmm, I must have missed this pull request. Looks good to me. Thanks again for your contribution, Rodney!

@nemec nemec merged commit 6acf8e6 into gsscoder:master Jul 27, 2016
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.

3 participants