【文件属性】:
文件名称:plugged:用于为Golang编写可扩展的CLI应用程序的库
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-02 11:17:30
Go
插上
用于编写可扩展的CLI应用程序的库。
用法
import "github.com/waterlink/plugged"
“网关”应用
func main () {
plugged . Gateway ( "appname" , "My super cli application." , os . Args )
}
用法示例:
$ ./appname
USAGE: appname command [options]
appname - My super cli application.
Available commands:
- find - Find some stuff.
- activate - Activate stuff.
- help - This help info.
To get help for any of commands yo
【文件预览】:
plugged-master
----plugged.go(4KB)
----views.go(2KB)
----LICENSE.txt(1KB)
----README.md(2KB)
----plugin.go(2KB)
----api.go(367B)
----plugged_test.go(14KB)