mirror of
https://github.com/beego/bee.git
synced 2024-11-21 18:40:54 +00:00
help message format
This commit is contained in:
parent
7eb6fa6a67
commit
00893f8c0c
20
g.go
20
g.go
@ -20,16 +20,16 @@ var cmdGenerate = &Command{
|
||||
UsageLine: "generate [Command]",
|
||||
Short: "generate code based on application",
|
||||
Long: `
|
||||
bee g model [modelfile] [dbconfig]
|
||||
generate model base on struct
|
||||
bee g controller [modelfile]
|
||||
generate RESTFul controllers based on modelfile
|
||||
bee g router [controllerfile]
|
||||
generate router based on controllerfile
|
||||
bee g docs
|
||||
generate swagger doc file
|
||||
bee g test [routerfile]
|
||||
generate testcase
|
||||
bee g model [modelfile] [dbconfig]
|
||||
generate model base on struct
|
||||
bee g controller [modelfile]
|
||||
generate RESTFul controllers based on modelfile
|
||||
bee g router [controllerfile]
|
||||
generate router based on controllerfile
|
||||
bee g docs
|
||||
generate swagger doc file
|
||||
bee g test [routerfile]
|
||||
generate testcase
|
||||
`,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user