Files

32 lines
503 B
Go

package main
import (
"context"
"os"
"github.com/joho/godotenv"
"github.com/urfave/cli/v3"
"github.com/v03413/bepusdt/app/cmd"
"github.com/v03413/bepusdt/app/conf"
)
func init() {
// 不推荐引导小白参与修改各种配置文件
_ = godotenv.Load()
}
func main() {
c := &cli.Command{
Name: "BEpusdt",
Usage: conf.Desc,
Commands: []*cli.Command{
cmd.Start,
cmd.Version,
cmd.Reset,
},
}
if err := c.Run(context.Background(), os.Args); err != nil {
panic(err)
}
}