feat: create proxy:build-config command

Closes #4024
This commit is contained in:
Jose Diaz-Gonzalez
2020-06-29 20:17:23 -04:00
parent 90b3528f6b
commit eaf0d9af55
10 changed files with 36 additions and 12 deletions

View File

@@ -17,6 +17,11 @@ func main() {
var err error
switch subcommand {
case "build-config":
args := flag.NewFlagSet("proxy:build-config", flag.ExitOnError)
args.Parse(os.Args[2:])
appName := args.Arg(0)
err = proxy.CommandBuildConfig(appName)
case "disable":
args := flag.NewFlagSet("proxy:disable", flag.ExitOnError)
skipRestart := args.Bool("no-restart", false, "--no-restart: skip restart of the app")