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

CLI Completion is broken #4631

Open
znd4 opened this issue May 20, 2024 · 0 comments
Open

CLI Completion is broken #4631

znd4 opened this issue May 20, 2024 · 0 comments

Comments

@znd4
Copy link

znd4 commented May 20, 2024

b.c. the cobra code is still targeting kots, but the binary's being distributed as kubectl-kots, CLI completion doesn't work. Unfortunately, simply switching to kubectl-kots would still confuse users, b.c. completion for kubectl plugins is a whole thing, so it'd only fix kubectl-kots <tab>.

The best solution would be to actually implement kubectl kots <tab> completion by shipping a second kubectl_complete-kots binary that basically aliases to kubectl kots completion $* (if I'm understanding the kubectl plugin completion spec correctly)

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

1 participant