You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -82,13 +90,29 @@ services deployed within your OpenFaaS cluster.`,
82
90
}
83
91
84
92
cmd.Flags().BoolVar(&opts.print, "print", false, "Print the docker command instead of running it")
93
+
cmd.Flags().BoolVar(&opts.build, "build", true, "Build function prior to local-run")
85
94
cmd.Flags().IntVarP(&opts.port, "port", "p", 8080, "port to bind the function to")
86
95
cmd.Flags().StringVar(&opts.network, "network", "", "connect function to an existing network, use 'host' to access other process already running on localhost. When using this, '--port' is ignored, if you have port collisions, you may change the port using '-e port=NEW_PORT'")
87
96
cmd.Flags().StringToStringVarP(&opts.extraEnv, "env", "e", map[string]string{}, "additional environment variables (ENVVAR=VALUE), use this to experiment with different values for your function")
0 commit comments