INNER CODE UNIT · Go
init
derailed/popeye · cmd/root.go:33
func init() {
initFlags()
}
func execName() string {
n := "popeye"
if strings.HasPrefix(filepath.Base(os.Args[0]), "kubectl-") {
return "kubectl-" + n
}
return n
}
// Execute root command
func Execute() {
if err := rootCmd.Execute(); err != nil {
return
}
}