I'd ~like~ love to have a way to generate an bash or zsh autocomplete file for the beat's sub-commands.
Maybe we could install this for all users with our .deb and .rpm packages too.
We already have this implemented for bash in all beats, just run: <beat> completion bash, that subcommand is hidden as it's not minded for end users but packaging.
We still have to add zsh support and make use of this from the packaging
Awesome. I didn't know about that.
@exekias
What do you meant by from the packaging, Is there any other project packaging doing that?
@andrewkroh support for zsh is in https://github.com/elastic/beats/pull/5761, I am not too familiar with the packaging.
I mean generate autocompletion files during packaging and add them to the resulting package so both bash and zsh use it if when you install from deb/rpm
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue doesn't have a Team:<team> label.
Most helpful comment
I mean generate autocompletion files during packaging and add them to the resulting package so both bash and zsh use it if when you install from deb/rpm