1
0
mirror of https://github.com/ko-build/ko.git synced 2025-07-15 23:54:17 +02:00

Use default completion command provided by cobra. (#522)

* Use default `completion` command provided by cobra.

`cobra` provides default `completion` subcommand.
It supports bash, zsh, fish, and powershell by default.

* update docs
This commit is contained in:
darklore
2021-12-05 23:00:38 +09:00
committed by GitHub
parent 5640c334df
commit 6ff346909c
5 changed files with 3 additions and 68 deletions

View File

@ -32,7 +32,6 @@ func AddKubeCommands(topLevel *cobra.Command) {
addBuild(topLevel)
addRun(topLevel)
addDeps(topLevel)
addCompletion(topLevel)
}
// check if kubectl is installed