stitch:通过 `source` 指令将 shell 脚本拼接成一个单独的组合脚本

时间:2021-06-13 21:53:39
【文件属性】:
文件名称:stitch:通过 `source` 指令将 shell 脚本拼接成一个单独的组合脚本
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-13 21:53:39
Go 缝 通过source指令将 shell 脚本拼接成单个组合脚本。 安装 二进制版本可用,或运行: $ go get github.com/tj/stitch/cmd/stitch 用法 函数文件 func File ( file string ) ( out string , err error ) 文件读取file并缝合source 指令。 执照 麻省理工学院
【文件预览】:
stitch-master
----Readme.md(358B)
----fixtures()
--------a.sh(48B)
--------b.sh(13B)
--------nested()
--------e.sh(13B)
----stitch.go(940B)
----stitch_test.go(434B)
----cmd()
--------stitch()

网友评论