91 Star 557 Fork 225

GVP三斤 / HFish

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
main.go 433 Bytes
Copy Edit Web IDE Raw Blame History
package main
import (
"fmt"
"os"
"HFish/utils/setting"
)
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] == "version" || args[1] == "--version" {
fmt.Println("v0.6.4")
} else if args[1] == "run" || args[1] == "--run" {
setting.Run()
} else {
setting.Help()
}
}
}

Comment ( 0 )

Sign in for post a comment

Go
1
https://gitee.com/lauix/HFish.git
git@gitee.com:lauix/HFish.git
lauix
HFish
HFish
master

Search