Files
forge/internal/cmd/makecmd/emqx.go
2025-11-25 21:42:23 +08:00

20 lines
340 B
Go

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