| package main | |
| import ( | |
| "github.com/spf13/cobra" | |
| ) | |
| // rootCmd represents the base command when called without any subcommands | |
| var rootCmd = &cobra.Command{ | |
| Use: "metroctl", | |
| Short: "metroctl controls Metropolis nodes and clusters.", | |
| } | |
| func main() { | |
| cobra.CheckErr(rootCmd.Execute()) | |
| } |