mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 12:40:11 +00:00
update
add conditional compilation support add multi core support
This commit is contained in:
@@ -2,19 +2,20 @@ package cmd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var (
|
||||
version = "TempVersion" //use ldflags replace
|
||||
codename = "V2bX"
|
||||
intro = "A V2board backend based on Xray-core"
|
||||
intro = "A V2board backend based on multi core"
|
||||
)
|
||||
|
||||
var versionCommand = cobra.Command{
|
||||
Use: "version",
|
||||
Short: "Print version info",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
Run: func(_ *cobra.Command, _ []string) {
|
||||
showVersion()
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user