Open ymmt2005 opened 2 years ago
This is not possible for the time being. This is possible with Kubernetes 1.26 or better. ref: https://github.com/kubernetes/kubernetes/pull/105867
spf13/cobra can auto-generate shell completion rules, so add completion subcommand to kubectl-accurate for Bash, Zsh, PowerShell, Fish, etc.
completion
kubectl-accurate
Note that it should work when invoked as kubectl accurate ....
kubectl accurate ...
Describe how to address the issue.
What
This is not possible for the time being.This is possible with Kubernetes 1.26 or better. ref: https://github.com/kubernetes/kubernetes/pull/105867spf13/cobra can auto-generate shell completion rules, so add
completion
subcommand tokubectl-accurate
for Bash, Zsh, PowerShell, Fish, etc.Note that it should work when invoked as
kubectl accurate ...
.How
Describe how to address the issue.
Checklist