Support goctl env install (#1752)

Co-authored-by: anqiansong <anqiansong@bytedance.com>
This commit is contained in:
anqiansong
2022-04-03 21:58:43 +08:00
committed by GitHub
parent 89eccfdb97
commit 58a0b17451
2 changed files with 24 additions and 0 deletions

9
tools/goctl/env/install.go vendored Normal file
View File

@@ -0,0 +1,9 @@
package env
import "github.com/urfave/cli"
func Install(c *cli.Context) error {
force := c.Bool("force")
verbose := c.Bool("verbose")
return Prepare(true, force, verbose)
}