Serge Bazanski | 9f0e1e8 | 2023-03-31 22:36:54 +0000 | [diff] [blame] | 1 | package main |
2 | |||||
3 | import ( | ||||
4 | "fmt" | ||||
5 | "os" | ||||
6 | |||||
7 | "github.com/spf13/cobra" | ||||
8 | ) | ||||
9 | |||||
10 | var rootCmd = &cobra.Command{ | ||||
11 | Use: "clustercfg", | ||||
12 | Short: "admin management tool for k0 cluster", | ||||
13 | } | ||||
14 | |||||
15 | func main() { | ||||
16 | if err := rootCmd.Execute(); err != nil { | ||||
17 | fmt.Fprintln(os.Stderr, err) | ||||
18 | os.Exit(1) | ||||
19 | } | ||||
20 | } |