Skip to content
/ lsq-cli Public

舍弃goframe推荐的接口型编码,小项目友好

Notifications You must be signed in to change notification settings

iAsuma/lsq-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LSQ CLI TOOL

lsq is a powerful CLI tool for Do Easy Something.

1. 安装

1). 手动安装

You might need setting the goproxy to make through building. Please make sure your Golang version > v1.15.

  1. 最新版本安装

    go install github.com/iasuma/lsq-cli/lsq@master
    
  2. 指定版本安装

    go install github.com/iasuma/lsq-cli/lsq@v1.0.0 // or @{提交hash}
    
  3. Check installation

    lsq -v
    

2). PreBuilt Binary

TODO

2. Commands

$ 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.

3. 生成标准化开发文件

查看命令说明

lsq gen mc --help(-h)

goframe 2.0版本

lsq gen mc -n xxx --last

goframe 2.1及以上版本

lsq gen mc -n xxx

About

舍弃goframe推荐的接口型编码,小项目友好

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages