feat: add autocompletion for kubetail cli commands #380
victorchrollo14
started this conversation in
Technical Spec
Replies: 2 comments
|
@rxinui Victor was using |
0 replies
|
Because we cannot target every shells, here are the top 2 priorities
We do not want it for Potentially, |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Overview
we would like to add autocomplete / autosuggestion when running kubetail cli commands like
kubetail logs. As the user typeskubetail logs pods/then enterstabwe either autocomplete the resource name or list out the pods that are currently running within the k8s cluster. This enhances the user experience significantly as most of the cli tools usually have this feature and most users expect cli tools to have autocomplete by default. let's start with the autocompletion of the resource names first then slowly expand it to all the commands and flags.Motivation
The main motivation is to enhance user experience with using kubetail cli tool. As it is really inconvinient to run
kubectl get resource-namethen copy the name of the resource and paste it afterkubetail logsto view the logs.Goals
Non-Goals
No response
Design Overview
Explain the proposed changes in detail:
Alternatives Considered
No response
Risks and Mitigations
No response
Open Questions
Future Work
No response
All reactions