Skip to content

Allow commands to be hidden from help after construction. - #1378

Open
fallingrock wants to merge 1 commit into
spring-projects:mainfrom
fallingrock:hide-quit
Open

Allow commands to be hidden from help after construction.#1378
fallingrock wants to merge 1 commit into
spring-projects:mainfrom
fallingrock:hide-quit

Conversation

@fallingrock

@fallingrock fallingrock commented Aug 31, 2026

Copy link
Copy Markdown

This change adds a setHidden method to AbstractCommand so a command can be hidden after it is constructed.

Example:
((AbstractCommand) Utils.QUIT_COMMAND).setHidden(true);

Signed-off-by: David Gibbs [email protected]

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.

1 participant