mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 09:58:14 -05:00
20 lines
297 B
Go
20 lines
297 B
Go
package cmd
|
|
|
|
import (
|
|
log "github.com/sirupsen/logrus"
|
|
|
|
_ "github.com/InazumaV/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")
|
|
}
|
|
}
|