当前版本为魔改原版本,具体用法请看 官方文档
git clone https://github.com/ice-leng/sponge.git
cd sponge/cmd/sponge
go run ./main.go init
- 基于数据库dsn 添加表前缀
数据库dsn: root:@(127.0.0.1:3306)/hyperf;prefix=t_
- 去掉下载代码功能,替换为,命令行 在那个目录,代码就在这个目录下生成
mkdir xxx
cd xxx
sponge run
... // web 操作 代码下载
ls -al