1 Star 0 Fork 324

h0medev / HFish

forked from HFish / HFish 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 505 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
SanJin 提交于 2020-05-12 19:55 . update
package main
import (
"fmt"
"HFish/utils/setting"
"os"
)
func main() {
//setting.Run()
args := os.Args
if args == nil || len(args) < 2 {
setting.Help()
} else {
if args[1] == "help" || args[1] == "--help" {
setting.Help()
} else if args[1] == "init" || args[1] == "--init" {
setting.Init()
} else if args[1] == "version" || args[1] == "--version" {
fmt.Println("v0.6.3")
} else if args[1] == "run" || args[1] == "--run" {
setting.Run()
} else {
setting.Help()
}
}
}
Go
1
https://gitee.com/h0medev/HFish.git
git@gitee.com:h0medev/HFish.git
h0medev
HFish
HFish
master

搜索帮助

14c37bed 8189591 565d56ea 8189591