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

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

Open
towolf opened this issue Sep 12, 2024 · 0 comments
Open

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

towolf opened this issue Sep 12, 2024 · 0 comments

Comments

@towolf
Copy link

towolf commented Sep 12, 2024

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.

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