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 request: support autocompletion in plugins #171

Open
kitd opened this issue Apr 2, 2019 · 1 comment
Open

Feature request: support autocompletion in plugins #171

kitd opened this issue Apr 2, 2019 · 1 comment

Comments

@kitd
Copy link

kitd commented Apr 2, 2019

Hello. We (IBM Event Streams) are writing a cloudctl plugin.

We would like to support dynamic autocompletion of flag values in the plugin but the --generate-bash-completion flag never makes it through to our plugin to allow this to happen.

There doesn't appear to be an option to define global plugin flags, which would have been an acceptable alternative.

So we have had to inject an hidden --autocomplete flag to each command, which is a pain to maintain and test.

Could we request either to have the --generate-bash-completion flag passed through to the plugin, or allow global flags to be defined for a plugin?

@weieigao
Copy link
Contributor

@kitd see #177.

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

No branches or pull requests

2 participants