This commit is contained in:
2025-06-20 17:13:51 +08:00
parent 1b55403cd6
commit fd0345a034
472 changed files with 52560 additions and 77 deletions

View File

@@ -0,0 +1,25 @@
package cmd
import (
"context"
"github.com/cool-team-official/cool-admin-go/cool-tools/internal/service"
"github.com/gogf/gf/v2/os/gcmd"
)
var (
Install = gcmd.Command{
Name: "install",
Usage: "cool-tools install",
Brief: "Install cool-tools to the system.",
Func: func(ctx context.Context, parser *gcmd.Parser) (err error) {
err = service.Install.Run(ctx)
return
},
}
)
// init
func init() {
Main.AddCommand(&Install)
}