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,27 @@
package cmd
import (
"context"
"github.com/gogf/gf/v2/os/gcmd"
"github.com/gogf/gf/v2/os/gres"
)
var (
Dump = &gcmd.Command{
Name: "dump",
Usage: "cool-tools dump",
Brief: "查看打包的资源文件",
Description: "查看打包的资源文件",
Arguments: []gcmd.Argument{},
Func: func(ctx context.Context, parser *gcmd.Parser) (err error) {
gres.Dump()
return nil
},
}
)
// init
func init() {
Main.AddCommand(Dump)
}