mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-21 03:17:25 +08:00
*
This commit is contained in:
@@ -28,6 +28,13 @@ func Install() {
|
||||
}
|
||||
}
|
||||
|
||||
func Version() {
|
||||
if len(os.Args) >= 2 && os.Args[1] == "version" {
|
||||
fmt.Println(conf.VERSION)
|
||||
os.Exit(0)
|
||||
}
|
||||
}
|
||||
|
||||
//初始化数据
|
||||
func initialization() {
|
||||
|
||||
|
Reference in New Issue
Block a user