|
|
@ -25,7 +25,7 @@ import (
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
var (
|
|
|
|
BuildVersion = "20201119-beta"
|
|
|
|
BuildVersion = "20201125"
|
|
|
|
commands = []cli.Command{
|
|
|
|
commands = []cli.Command{
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Name: "api",
|
|
|
|
Name: "api",
|
|
|
@ -208,7 +208,8 @@ var (
|
|
|
|
Flags: []cli.Flag{
|
|
|
|
Flags: []cli.Flag{
|
|
|
|
cli.StringFlag{
|
|
|
|
cli.StringFlag{
|
|
|
|
Name: "style",
|
|
|
|
Name: "style",
|
|
|
|
Usage: "the file naming style, lower|camel|snake,default is lower, [deprecated,use config.yaml instead]",
|
|
|
|
Required: false,
|
|
|
|
|
|
|
|
Usage: "the file naming format, see [https://github.com/tal-tech/go-zero/tree/master/tools/goctl/config/readme.md]",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
cli.BoolFlag{
|
|
|
|
cli.BoolFlag{
|
|
|
|
Name: "idea",
|
|
|
|
Name: "idea",
|
|
|
|