kubeswitch icon indicating copy to clipboard operation
kubeswitch copied to clipboard

Sort available contexts list

Open gdubicki opened this issue 2 years ago • 2 comments

Hi!

Thanks for this tool - I only started using it but it looks very promising so far!

I was not able to find a way to get my list of available contexts appear sorted though. I mean mainly the output of switch (for switch list-contexts I would just pipe it to sort, but I don't need that). Is it possible to make this list sorted?

gdubicki avatar Dec 28 '22 13:12 gdubicki

I am using the GKE store so I tried adding a list of specific projectIDs but the order from there is not retained in the output of switch...

gdubicki avatar Dec 30 '22 12:12 gdubicki