feat:完善项目

This commit is contained in:
henry
2021-09-28 11:47:19 +08:00
commit da7b3130fe
167 changed files with 456676 additions and 0 deletions

22
cmd/ctl/main.go Normal file
View File

@ -0,0 +1,22 @@
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()
}