lsq
is a powerful CLI tool for Do Easy Something.
You might need setting the goproxy to make through building. Please make sure your Golang version > v1.15.
-
最新版本安装
go install github.com/iasuma/lsq-cli/lsq@master
-
指定版本安装
go install github.com/iasuma/lsq-cli/lsq@v1.0.0 // or @{提交hash}
-
Check installation
lsq -v
TODO
$ lsq
USAGE
lsq COMMAND [OPTION]
COMMAND
gen automatically generate GoFrameV2 files for api/controller/logic/model
version show version information of current binary
OPTION
-v, --version show version information of current binary
-h, --help more information about this command
ADDITIONAL
Use "lsq COMMAND -h" for details about a command.
查看命令说明
lsq gen mc --help(-h)
goframe 2.0版本
lsq gen mc -n xxx --last
goframe 2.1及以上版本
lsq gen mc -n xxx