picocli icon indicating copy to clipboard operation
picocli copied to clipboard

AutoComplete with jline3 is showing hidden commands.

Open clebertsuconic opened this issue 6 months ago • 1 comments

#2074 fixed an issue with jline3 showing auto-complete for hidden attributes.

I just realized that hidden commands are also showing, so the fix for hidden attributes has to be somehow applied into commands as well.

As I was working on https://github.com/apache/activemq-artemis/pull/5132, I wanted to hide a command from the Shell, but hiding is not working for the Shell.

It's not such a big deal for me, so I will just remove the command for good in this case.. but it would be nice to have this fixed eventually.

clebertsuconic avatar Aug 06 '24 16:08 clebertsuconic