2026-01-04 11:33:47 +08:00
|
|
|
package cmd
|
2025-10-13 11:27:38 +08:00
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
|
|
"github.com/urfave/cli/v3"
|
|
|
|
|
"github.com/v03413/bepusdt/app"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
var Version = &cli.Command{
|
|
|
|
|
Name: "version",
|
|
|
|
|
Usage: "显示版本信息",
|
|
|
|
|
Action: func(ctx context.Context, cmd *cli.Command) error {
|
|
|
|
|
fmt.Println("BEpusdt 版本:" + app.Version)
|
|
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
},
|
|
|
|
|
}
|