工具职责
- 简化工程开发,提高开发效率
- 支持框架工程设计规范准确落地
注意事项
- 部分命令需要您先安装好
Golang
基础的开发环境,环境安装具体请参考 环境安装 章节。 - 最新的
CLI
工具版本会随着最新的框架版本走。
工具调试
命令总览
$ gf
USAGE
gf COMMAND [OPTION]
env show current Golang environment variables
run running go codes with hot-compiled-like feature
gen automatically generate go files for dao/dto/entity/pb/pbentity...
init create and initialize an empty GoFrame project
pack packing any file/directory to a resource file, or a go file
docker build docker image for current GoFrame project
install install gf binary to system (might need root/admin permission)
version show version information of current binary
OPTION
-y, --yes all yes for all command without prompt ask
-v, --version show version information of current binary
-h, --help more information about this command
Use "gf COMMAND -h" for details about a command.
相关文档