1
0
mirror of https://github.com/beego/bee.git synced 2024-11-24 08:30:53 +00:00

Merge pull request #1 from luhuisicnu/luhuisicnu-patch-1

Update apiapp.go
This commit is contained in:
Hank.Lu 2018-12-06 15:00:49 +08:00 committed by GitHub
commit d3a825f92d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ var CmdApiapp = &commands.Command{
The command 'api' creates a Beego API application.
{{"Example:"|bold}}
$ bee api [appname] [-tables=""] [-driver=mysql] [-conn=root:@tcp(127.0.0.1:3306)/test]
$ bee api [appname] [-tables=""] [-driver=mysql] [-conn="root:@tcp(127.0.0.1:3306)/test"]
If 'conn' argument is empty, the command will generate an example API application. Otherwise the command
will connect to your database and generate models based on the existing tables.