Generate CLI completions for bash/zsh #1346
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
The Kubebuilder CLI doesn't seem to provide bash or zsh completions similar to kubectl:
kubebuilder completion bash
It should be straightforward enough to generate it via the cobra cmd helpers e.g
GenBashCompletion()
.I can submit a PR to add this in unless there's reasons not to, e.g potentially moving away from cobra CLI in the future, or if any of the incoming plugin and CLI work in #1290 would affect this (which doesn't seem like it would).
/kind feature
The text was updated successfully, but these errors were encountered: