V2bX/cmd/cmd.go
2023-06-30 11:07:27 +08:00

20 lines
298 B
Go

package cmd
import (
log "github.com/sirupsen/logrus"
_ "github.com/Yuzuki616/V2bX/core/imports"
"github.com/spf13/cobra"
)
var command = &cobra.Command{
Use: "V2bX",
}
func Run() {
err := command.Execute()
if err != nil {
log.WithField("err", err).Error("Execute command failed")
}
}