Support goctl env install (#1752)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
This commit is contained in:
@@ -57,6 +57,21 @@ var commands = []cli.Command{
|
||||
},
|
||||
},
|
||||
Subcommands: []cli.Command{
|
||||
{
|
||||
Name: "install",
|
||||
Usage: "goctl env installation",
|
||||
Action: env.Install,
|
||||
Flags: []cli.Flag{
|
||||
cli.BoolFlag{
|
||||
Name: "force,f",
|
||||
Usage: "silent installation of non-existent dependencies",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "verbose, v",
|
||||
Usage: "enable log output",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "check",
|
||||
Usage: "detect goctl env and dependency tools",
|
||||
|
||||
Reference in New Issue
Block a user