-
Notifications
You must be signed in to change notification settings - Fork 12
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
add an option to only show context name in set cmd #48
Comments
Hi @golgoth31 thank you for submittinga feature request and also the PR. I am currently trying to understand the idea behind this better. |
Hi, |
Here's an example:
You can't tell the difference between the two rows starting with |
@sourcedelica Ah okay now I understand. Thanks for the input. I am currently debating with myself between a couple of options, which are also combinable: a) Implement a shortening algorithm for similar contexts and clusters
b) We could make the length of the columns configurable c) Shorten the output of the File column
Just to share my thoughts for now, I have not decided what option to pursue. |
Some more data points - here's the full name of a few of my EKS contexts:
Here's the filenames of those in ~/.kube/konfs/store: 😄
For a) would it check all pairs to see which ones have common prefixes? Seems complicated. What would work best for me is the original idea in this issue where you could have an option to only select from the full context name. The chooser would be one long column.
Re: config file - for this one it would be nice if you could select it with an environment variable. That way I could keep the super friendly |
Hi, thank you for your job. A cool feature should to have an option in the set cmd to only show context name.
I send you a PR in this way.
The text was updated successfully, but these errors were encountered: