docopt.go:命令行参数解析器它将使您微笑 源码
docopt-go 编程语言中的实现。 docopt可帮助您轻松创建漂亮的命令行界面: package main import ( "fmt" "github.com/docopt/docopt-go" ) func main () { usage := `Naval Fate. Usage: naval_fate ship new ... naval_fate ship move [--speed=] naval_fate ship shoot naval_fate mine (set|remove) [--moored|--drifting] naval_fate -h | --help naval_fate --version Options: -h --he
用户评论