Skip to content

AutoComplete with jline3 is showing hidden commands. #2331

@clebertsuconic

Description

@clebertsuconic

#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 apache/activemq-artemis#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    theme: integrationAn issue or change related to integration with other frameworks, shells or operating systemstheme: shellAn issue or change related to interactive (JLine) applicationstype: bug 🐛

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions