blcompro/cmd/start.go
2025-05-31 02:31:51 +00:00

22 lines
303 B
Go

package cmd
import (
"blcompro/internal/app"
"github.com/spf13/cobra"
)
var startCmd = &cobra.Command{
Use: "start",
Short: "start",
Long: `start`,
Run: func(cmd *cobra.Command, args []string) {
// Call Func Route API
app.RunServer()
},
}
func init() {
rootCmd.AddCommand(startCmd)
}