mirror of https://github.com/helm/helm
This commit adds dynamic completion for the commands helm status <TAB> helm uninstall <TAB> helm history <TAB> helm test run <TAB> helm upgrade <TAB> helm get <subcommand> <TAB> helm rollback <TAB> Aliases of commands are automatically taken care of, such as helm delete <TAB> which is an alias of helm uninstall Support for override flags in completion is included for such dynamic completion. The list of release names to complete is obtained by running helm list $(__helm_override_flags) -a -q -m 1000 -f ${filter} where ${__helm_override_flags} is any user-specified flags part of --kubeconfig --kube-context --home --namespace -n ${filter} is whatever prefix the user may have already typed for the release name Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>pull/5829/head
parent
fea6bb84a6
commit
097096d47c
Loading…
Reference in new issue