remove goctl config command (#1035)

This commit is contained in:
Kevin Wan
2021-09-13 14:04:06 +08:00
committed by GitHub
parent 71c0288023
commit e8376936d5
3 changed files with 2 additions and 111 deletions

View File

@@ -19,7 +19,6 @@ import (
"github.com/tal-tech/go-zero/tools/goctl/api/new"
"github.com/tal-tech/go-zero/tools/goctl/api/tsgen"
"github.com/tal-tech/go-zero/tools/goctl/api/validate"
"github.com/tal-tech/go-zero/tools/goctl/configgen"
"github.com/tal-tech/go-zero/tools/goctl/docker"
"github.com/tal-tech/go-zero/tools/goctl/internal/errorx"
"github.com/tal-tech/go-zero/tools/goctl/internal/version"
@@ -569,17 +568,6 @@ var commands = []cli.Command{
},
},
},
{
Name: "config",
Usage: "generate config json",
Flags: []cli.Flag{
cli.StringFlag{
Name: "path, p",
Usage: "the target config go file",
},
},
Action: configgen.GenConfigCommand,
},
{
Name: "template",
Usage: "template operation",