danielfoehrKn/kubeswitch

Pattern matching for `switch list-contexts` and `exec` is too simplistic

Opened this issue · 0 comments

The used pattern matching package from https://github.com/becheran/wildmatch-go is too simplistic and doesn't allow flexible matching of contexts.

Either just go regex or find a better matching library?

Something that allows brace expansion {prod,staging} and optional prefixes would be good.

Or just go with regex.