You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
331 B
Go

package cmd
import (
"github.com/mizuki1412/go-core-kit/service/logkit"
"github.com/spf13/cobra"
)
var rootCmd = &cobra.Command{
Use: "cu-helper",
Run: func(cmd *cobra.Command, args []string) {
_ = cmd.Help()
logkit.Info("123")
},
}
func Execute() {
if err := rootCmd.Execute(); err != nil {
panic(err.Error())
}
}