package main | |
import ( | |
"fmt" | |
"os" | |
"github.com/spf13/cobra" | |
) | |
var rootCmd = &cobra.Command{ | |
Use: "clustercfg", | |
Short: "admin management tool for k0 cluster", | |
} | |
func main() { | |
if err := rootCmd.Execute(); err != nil { | |
fmt.Fprintln(os.Stderr, err) | |
os.Exit(1) | |
} | |
} |