cmd/kg/main.go: use cobra

This commit uses cobra instead of pflags in kg to handle flags in preparation  to add a new subcommand
for the webhook server.

Signed-off-by: leonnicolas <leonloechner@gmx.de>
This commit is contained in:
leonnicolas
2021-08-18 22:42:09 +02:00
parent cad15d9961
commit 2b4487ba9a
3 changed files with 81 additions and 49 deletions

1
vendor/modules.txt vendored
View File

@@ -121,7 +121,6 @@ github.com/prometheus/procfs/internal/util
## explicit
github.com/spf13/cobra
# github.com/spf13/pflag v1.0.5
## explicit
github.com/spf13/pflag
# github.com/vishvananda/netlink v1.0.0
## explicit