fix deps cycle
update example
fix color for X25519
output supported cores message
This commit is contained in:
Yuzuki616
2023-06-08 03:11:42 +08:00
parent 0958e351f0
commit ca67855ec9
8 changed files with 39 additions and 20 deletions

View File

@@ -2,7 +2,9 @@ package cmd
import (
"fmt"
"strings"
vCore "github.com/Yuzuki616/V2bX/core"
"github.com/spf13/cobra"
)
@@ -26,6 +28,7 @@ func init() {
func showVersion() {
fmt.Printf("%s %s (%s) \n", codename, version, intro)
fmt.Printf("Supported cores: %s\n", strings.Join(vCore.RegisteredCore(), ", "))
// Warning
fmt.Println(Warn("This version need V2board version >= 1.7.0."))
}