V2bX/cmd/cmd.go

20 lines
297 B
Go
Raw Permalink Normal View History

2023-05-23 22:26:14 -04:00
package cmd
import (
2023-06-29 23:07:27 -04:00
log "github.com/sirupsen/logrus"
2023-07-29 07:27:15 -04:00
_ "github.com/InazumaV/V2bX/core/imports"
"github.com/spf13/cobra"
2023-05-23 22:26:14 -04:00
)
var command = &cobra.Command{
Use: "V2bX",
}
func Run() {
err := command.Execute()
if err != nil {
2023-06-29 23:07:27 -04:00
log.WithField("err", err).Error("Execute command failed")
2023-05-23 22:26:14 -04:00
}
}