2 ms·
This is pretty cool! I've only poked with it for a few minutes on a spare laptop I use for vetting software, but I did notice that the Kubernetes autocomplete
by tibbon 5y ago
This is pretty cool!
I've only poked with it for a few minutes on a spare laptop I use for vetting software, but I did notice that the Kubernetes autocomplete only goes halfway, at least in iTerm.
If I do `kubectl top` it doesn't recommend `kubectl top pods|resources` in the autocomplete. Autocomplete needs to work for the whole line, not just the first argument.
- mschrage 5y agoIt looks like this is an issue with the completion spec for kubectl[0]! I'm not super familiar with k8s, so you wanted to help fix this (eg. writing the generator to list pods) that would be amazing! <3 [0]https://github.com/withfig/autocomplete/blob/2a0eea63d04f6b25d6779bb942ba05a37f79dfbd/dev/kubectl.ts#L3735 https://github.com/withfig/autocomplete/blob/2a0eea63d04f6b2...