【文件属性】:
文件名称:go-bash-wrapper:使用Golang运行bash脚本
文件大小:1KB
文件格式:ZIP
更新时间:2021-05-17 16:06:43
bash golang wrapper exec Go
使用Golang运行bash脚本
安装
高朗
$ go get -u github.com/clarketm/go-bash-wrapper
用法
# Basic usage
$ go-bash-wrapper ~ /path/to/script
# Forward command line arguments
$ go-bash-wrapper ~ /path/to/script arg1 arg2
您可以在或通过go的标准文档系统查看go-bash-wrapper软件包的完整参考文档:
$ godoc -http=:6060
# Open browser to: "http://localhost:6060/pkg/github.com/clarketm/myip" to view godoc.
【文件预览】:
go-bash-wrapper-master
----main.go(599B)
----README.md(670B)