add version info and GitHub link on index

This commit is contained in:
杨黄林
2023-09-10 23:29:55 +08:00
parent 92f3e6fe23
commit 5cdf8cc380
6 changed files with 15 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ import (
"strings"
)
const version = "0.0.2"
const version = "1.4.0"
var (
showVersion bool
@@ -55,6 +55,7 @@ var rootCmd = &cobra.Command{
Subdomains: subdomains,
ConfigFile: configFile,
IniFile: iniFile,
Version: version,
})
if err != nil {
return err