Files
forge/internal/cmd/make.yosguard.go
2025-11-25 21:42:18 +08:00

21 lines
388 B
Go

package cmd
import (
"github.com/spf13/cobra"
"yizhisec.com/hsv2/forge/internal/controller/maker"
)
func makeYosguard() *cobra.Command {
_cmd := &cobra.Command{
Use: "yosguard",
Aliases: []string{"YOS"},
Short: "Make Yosguard",
RunE: func(cmd *cobra.Command, args []string) error {
mk := maker.NewMaker()
return mk.Yosguard(cmd.Context())
},
}
return _cmd
}