.-') _
( OO) )
,----. ,-.-') / '._ .-'),-----. .-'),-----. ,--.
' .-./-') | |OO) |'--...__) ( OO' .-. '( OO' .-. ' | |.-')
| |_( O- ) | | \ '--. .--' / | | | |/ | | | | | | OO )
| | .--, \ | |(_/ | | \_) | |\| |\_) | |\| | | |`-' |
(| | '. (_/ ,| |_.' | | \ | | | | \ | | | |(| '---.'
| '--' | (_| | | | `' '-' ' `' '-' ' | |
`------' `--' `--' `-----' `-----' `------'
方便地Gitool代码仓库工具
特性
- 模板项目,快速使用脚手架
- gitops工具,代码仓库变化监听
默认忽略的文件和扩展
// 文件或文件夹
".github"
".git"
".tmp"
"node_modules"
".vscode"
// 扩展
".vue"
".html"
".go"
使用手册
安装
go install github.com/wwqdrh/gitool@latest
gitool --help
监听变化
go run . notify watch --spec ./dev.spec.yaml
注意hook中不要有多余的空格,最好是在这指定一个执行的脚本
app:
- name: novelauto
type: docker
url: "docker.io/wwqdrh/novelauto"
interval: 10
hook: |
echo novelautochange