Files
ArmedPolice/cmd/ctl/main.go
2021-11-02 09:43:19 +08:00

23 lines
319 B
Go

package main
import (
"Edu/cmd/ctl/command/model"
"Edu/config"
"github.com/spf13/cobra"
)
var rootCmd = &cobra.Command{
Use: "ctl",
Long: "ctl is a command line tool for serve",
Version: *config.Version,
}
func init() {
rootCmd.AddCommand(model.ModelCommand)
}
func main() {
_ = rootCmd.Execute()
}