Added --delete-all flag

pull/4780/head
Marek Schwarz 2019-07-12 18:00:11 +02:00
parent 19838ab2f3
commit db6b0a50cd
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,8 @@ import (
pkgutil "k8s.io/minikube/pkg/util"
)
var deleteAll bool
// deleteCmd represents the delete command
var deleteCmd = &cobra.Command{
Use: "delete",
@ -105,5 +107,6 @@ func uninstallKubernetes(api libmachine.API, kc pkg_config.KubernetesConfig, bsN
}
func init() {
deleteCmd.Flags().BoolVar(&deleteAll, "delete-all", false, "Set flag to delete all profiles")
RootCmd.AddCommand(deleteCmd)
}