|
|
|
@ -55,7 +55,14 @@ var commands = []cli.Command{
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "home",
|
|
|
|
|
Usage: "the goctl home path of the template",
|
|
|
|
|
Usage: "the goctl home path of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "remote",
|
|
|
|
|
Usage: "the remote git repo of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority\n\tThe git repo directory must be consistent with the " +
|
|
|
|
|
"https://github.com/zeromicro/go-zero-template directory structure",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Action: apigen.ApiCommand,
|
|
|
|
@ -67,7 +74,14 @@ var commands = []cli.Command{
|
|
|
|
|
Flags: []cli.Flag{
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "home",
|
|
|
|
|
Usage: "the goctl home path of the template",
|
|
|
|
|
Usage: "the goctl home path of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "remote",
|
|
|
|
|
Usage: "the remote git repo of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority\n\tThe git repo directory must be consistent with the " +
|
|
|
|
|
"https://github.com/zeromicro/go-zero-template directory structure",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "style",
|
|
|
|
@ -139,7 +153,14 @@ var commands = []cli.Command{
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "home",
|
|
|
|
|
Usage: "the goctl home path of the template",
|
|
|
|
|
Usage: "the goctl home path of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "remote",
|
|
|
|
|
Usage: "the remote git repo of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority\n\tThe git repo directory must be consistent with the " +
|
|
|
|
|
"https://github.com/zeromicro/go-zero-template directory structure",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Action: gogen.GoCommand,
|
|
|
|
@ -260,7 +281,14 @@ var commands = []cli.Command{
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "home",
|
|
|
|
|
Usage: "the goctl home path of the template",
|
|
|
|
|
Usage: "the goctl home path of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "remote",
|
|
|
|
|
Usage: "the remote git repo of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority\n\tThe git repo directory must be consistent with the " +
|
|
|
|
|
"https://github.com/zeromicro/go-zero-template directory structure",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "version",
|
|
|
|
@ -353,7 +381,14 @@ var commands = []cli.Command{
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "home",
|
|
|
|
|
Usage: "the goctl home path of the template",
|
|
|
|
|
Usage: "the goctl home path of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "remote",
|
|
|
|
|
Usage: "the remote git repo of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority\n\tThe git repo directory must be consistent with the " +
|
|
|
|
|
"https://github.com/zeromicro/go-zero-template directory structure",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Action: kube.DeploymentCommand,
|
|
|
|
@ -378,7 +413,14 @@ var commands = []cli.Command{
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "home",
|
|
|
|
|
Usage: "the goctl home path of the template",
|
|
|
|
|
Usage: "the goctl home path of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "remote",
|
|
|
|
|
Usage: "the remote git repo of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority\n\tThe git repo directory must be consistent with the " +
|
|
|
|
|
"https://github.com/zeromicro/go-zero-template directory structure",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Action: rpc.RPCNew,
|
|
|
|
@ -393,7 +435,14 @@ var commands = []cli.Command{
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "home",
|
|
|
|
|
Usage: "the goctl home path of the template",
|
|
|
|
|
Usage: "the goctl home path of the template, --home and --remote cannot be set at the same time," +
|
|
|
|
|
" if they are, --remote has higher priority",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "remote",
|
|
|
|
|
Usage: "the remote git repo of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority\n\tThe git repo directory must be consistent with the " +
|
|
|
|
|
"https://github.com/zeromicro/go-zero-template directory structure",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Action: rpc.RPCTemplate,
|
|
|
|
@ -428,7 +477,14 @@ var commands = []cli.Command{
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "home",
|
|
|
|
|
Usage: "the goctl home path of the template",
|
|
|
|
|
Usage: "the goctl home path of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "remote",
|
|
|
|
|
Usage: "the remote git repo of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority\n\tThe git repo directory must be consistent with the " +
|
|
|
|
|
"https://github.com/zeromicro/go-zero-template directory structure",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Action: rpc.RPC,
|
|
|
|
@ -473,7 +529,14 @@ var commands = []cli.Command{
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "home",
|
|
|
|
|
Usage: "the goctl home path of the template",
|
|
|
|
|
Usage: "the goctl home path of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "remote",
|
|
|
|
|
Usage: "the remote git repo of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority\n\tThe git repo directory must be consistent with the " +
|
|
|
|
|
"https://github.com/zeromicro/go-zero-template directory structure",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Action: model.MysqlDDL,
|
|
|
|
@ -508,7 +571,14 @@ var commands = []cli.Command{
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "home",
|
|
|
|
|
Usage: "the goctl home path of the template",
|
|
|
|
|
Usage: "the goctl home path of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "remote",
|
|
|
|
|
Usage: "the remote git repo of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority\n\tThe git repo directory must be consistent with the " +
|
|
|
|
|
"https://github.com/zeromicro/go-zero-template directory structure",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Action: model.MySqlDataSource,
|
|
|
|
@ -553,7 +623,14 @@ var commands = []cli.Command{
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "home",
|
|
|
|
|
Usage: "the goctl home path of the template",
|
|
|
|
|
Usage: "the goctl home path of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "remote",
|
|
|
|
|
Usage: "the remote git repo of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority\n\tThe git repo directory must be consistent with the " +
|
|
|
|
|
"https://github.com/zeromicro/go-zero-template directory structure",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Action: model.PostgreSqlDataSource,
|
|
|
|
@ -582,7 +659,14 @@ var commands = []cli.Command{
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "home",
|
|
|
|
|
Usage: "the goctl home path of the template",
|
|
|
|
|
Usage: "the goctl home path of the template, --home and --remote cannot be set at the same time," +
|
|
|
|
|
" if they are, --remote has higher priority",
|
|
|
|
|
},
|
|
|
|
|
cli.StringFlag{
|
|
|
|
|
Name: "remote",
|
|
|
|
|
Usage: "the remote git repo of the template, --home and --remote cannot be set at the same time, " +
|
|
|
|
|
"if they are, --remote has higher priority\n\tThe git repo directory must be consistent with the " +
|
|
|
|
|
"https://github.com/zeromicro/go-zero-template directory structure",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Action: mongo.Action,
|
|
|
|
|