1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 05:00:54 +00:00

help message format

This commit is contained in:
ZhengYang 2014-08-01 10:15:32 +08:00
parent 7eb6fa6a67
commit 00893f8c0c

20
g.go
View File

@ -20,16 +20,16 @@ var cmdGenerate = &Command{
UsageLine: "generate [Command]", UsageLine: "generate [Command]",
Short: "generate code based on application", Short: "generate code based on application",
Long: ` Long: `
bee g model [modelfile] [dbconfig] bee g model [modelfile] [dbconfig]
generate model base on struct generate model base on struct
bee g controller [modelfile] bee g controller [modelfile]
generate RESTFul controllers based on modelfile generate RESTFul controllers based on modelfile
bee g router [controllerfile] bee g router [controllerfile]
generate router based on controllerfile generate router based on controllerfile
bee g docs bee g docs
generate swagger doc file generate swagger doc file
bee g test [routerfile] bee g test [routerfile]
generate testcase generate testcase
`, `,
} }