Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Generate bash autocomplete for subcommands #5617

Closed
andrewkroh opened this issue Nov 16, 2017 · 7 comments
Closed

Feature: Generate bash autocomplete for subcommands #5617

andrewkroh opened this issue Nov 16, 2017 · 7 comments
Labels
enhancement needs_team Indicates that the issue/PR needs a Team:* label Stalled

Comments

@andrewkroh
Copy link
Member

andrewkroh commented Nov 16, 2017

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.

@exekias
Copy link
Contributor

exekias commented Nov 17, 2017

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

@andrewkroh
Copy link
Member Author

Awesome. I didn't know about that.

@ph
Copy link
Contributor

ph commented Nov 29, 2017

@exekias
What do you meant by from the packaging, Is there any other project packaging doing that?

@ph
Copy link
Contributor

ph commented Nov 29, 2017

@andrewkroh support for zsh is in #5761, I am not too familiar with the packaging.

@exekias
Copy link
Contributor

exekias commented Nov 29, 2017

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

@botelastic
Copy link

botelastic bot commented Jul 9, 2020

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.

@botelastic botelastic bot added Stalled needs_team Indicates that the issue/PR needs a Team:* label labels Jul 9, 2020
@botelastic
Copy link

botelastic bot commented Jul 9, 2020

This issue doesn't have a Team:<team> label.

@botelastic botelastic bot closed this as completed Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement needs_team Indicates that the issue/PR needs a Team:* label Stalled
Projects
None yet
Development

No branches or pull requests

3 participants