Files
2021-09-28 11:47:19 +08:00

23 lines
341 B
Go

package main
import (
"SciencesServer/cmd/ctl/command/model"
"SciencesServer/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()
}