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
o Run the function locally and output JSON with the service address.
59
+
$ func run --json
60
+
58
61
59
62
```
60
63
func run
@@ -72,6 +75,7 @@ func run
72
75
-e, --env stringArray Environment variable to set in the form NAME=VALUE. You may provide this flag multiple times for setting multiple environment variables. To unset, specify the environment variable name followed by a "-" (e.g., NAME-).
73
76
-h, --help help for run
74
77
-i, --image string Full image name in the form [registry]/[namespace]/[name]:[tag]. This option takes precedence over --registry. Specifying tag is optional. ($FUNC_IMAGE)
78
+
--json Output as JSON. ($FUNC_JSON)
75
79
-p, --path string Path to the function. Default is current directory ($FUNC_PATH)
76
80
-r, --registry string Container registry + registry namespace. (ex 'ghcr.io/myuser'). The full image name is automatically determined using this along with function name. ($FUNC_REGISTRY)
0 commit comments