package main import ( "git.ouxuan.net/tommy/hasaki-ctl/servicegen" "github.com/spf13/cobra" ) func main() { rootCmd := cobra.Command{Use: "hskctl"} rootCmd.AddCommand(servicegen.Command()) err := rootCmd.Execute() if err != nil { panic(err) } }