Skip to content

Conversation

@filzrev
Copy link
Contributor

@filzrev filzrev commented Mar 10, 2025

This PR intended to fix #142

HiddenAttribute's behaviors

  1. When [Hidden] attribute is set on command. It hide command from command list.
    It can show hidden command help when explicitly specify hidden command name with --help parameter
  2. When [Hidden] attribute is set on command parameter. It hide parameter from command help.
    Note: When both [Argument]/[Hidden] attribute set. It silently ignore Hidden attribute.
    (Because it's positional parameter)

@neuecc
Copy link
Member

neuecc commented Jun 23, 2025

Thank you and sorry for (extreme) delayed response.
I'll release soon(maybe today)!

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.

[Question] Configuration to hide a command in/from --help?

2 participants