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

File column could be improved by either using '...' abreviation or filtering out the konfDir #33

Open
almereyda opened this issue Aug 18, 2022 · 1 comment

Comments

@almereyda
Copy link

Taken from README.md

@sourcedelica
Copy link

Totally agreed. Take a look at this konf set output:

$ konf set
Use the arrow keys to navigate: ↓ ↑ → ←  and / toggles search
?   Context                   | Cluster                   | File                      :
  ▸ arn:aws:eks:us-east-1:116 | arn:aws:eks:us-east-1:116 | /home/eric/.kube/konfs/st |
    arn:aws:eks:us-east-1:223 | arn:aws:eks:us-east-1:223 | /home/eric/.kube/konfs/st |
    arn:aws:eks:us-east-1:483 | arn:aws:eks:us-east-1:483 | /home/eric/.kube/konfs/st |
    arn:aws:eks:us-east-1:841 | arn:aws:eks:us-east-1:841 | /home/eric/.kube/konfs/st |
    arn:aws:eks:us-east-1:841 | arn:aws:eks:us-east-1:841 | /home/eric/.kube/konfs/st |
    dev-sandbox-usinfdevranch | dev-sandbox-usinfdevranch | /home/eric/.kube/konfs/st |
    dev-sandbox-usinfdevranch | dev-sandbox-usinfdevranch | /home/eric/.kube/konfs/st |
    dev-sandbox-usinfdevranch | dev-sandbox-usinfdevranch | /home/eric/.kube/konfs/st |
    dev-sandbox               | dev-sandbox               | /home/eric/.kube/konfs/st |
    uspttdevrafay1            | uspttdevrafay1            | /home/eric/.kube/konfs/st |

You can't tell the difference between the two rows starting with arn:aws:eks:us-east-1:841 nor the ones starting with ev-sandbox-usinfdevranch. The store directory is redundant information. Also you might as well make that column much wider since it's the last one.

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

2 participants