工具职责

  1. 简化工程开发,提高开发效率
  2. 支持框架工程设计规范准确落地

注意事项

  1. 部分命令需要您先安装好Golang基础的开发环境,环境安装具体请参考 环境安装 章节。
  2. 最新的CLI工具版本会随着最新的框架版本走。

工具调试

命令总览

  1. $ gf
  2. USAGE
  3. gf COMMAND [OPTION]
  4. env show current Golang environment variables
  5. run running go codes with hot-compiled-like feature
  6. gen automatically generate go files for dao/dto/entity/pb/pbentity...
  7. init create and initialize an empty GoFrame project
  8. pack packing any file/directory to a resource file, or a go file
  9. docker build docker image for current GoFrame project
  10. install install gf binary to system (might need root/admin permission)
  11. version show version information of current binary
  12. OPTION
  13. -y, --yes all yes for all command without prompt ask
  14. -v, --version show version information of current binary
  15. -h, --help more information about this command
  16. Use "gf COMMAND -h" for details about a command.

相关文档