danielfoehrKn / kubeswitch

The kubectx for operators.
https://danielfoehrkn.medium.com/the-case-of-kubeswitch-aff4b6a04ae7
Apache License 2.0
832 stars 80 forks source link

kubectx-like completion #113

Closed cgrs closed 6 months ago

cgrs commented 7 months ago

Hi!

Firstly, thank you for creating this tool, I'm loving it so far!

The main nitpick I have about it is that completion is not behaving the same as with kubectx. I was used to auto-complete contexts using just kubectx (actually the alias kctx), but with kubeswitch I only have autocompletion for commands. Could this be a bug (maybe shell-related since I'm using Fish), or is it the intended behavior?

kinoute commented 6 months ago

I have the same question: is it possible to have auto-completions/suggestions for contexts?

danielfoehrKn commented 6 months ago

Hi, have you tried switch set-context <TAB> ?

kinoute commented 6 months ago

@danielfoehrKn Thanks, it works. I made an alias to use it!

cgrs commented 6 months ago

Wow, didn't know about it, thanks! Closing this then 😄