mirror of https://github.com/knative/func.git
1016 B
1016 B
func info
Show details of a function
Synopsis
Show details of a function
Prints the name, route and any event subscriptions for a deployed function in the current directory or from the directory specified with --path.
func info <name>
Examples
# Show the details of a function as declared in the local func.yaml
func info
# Show the details of the function in the myotherfunc directory with yaml output
func info --output yaml --path myotherfunc
Options
-h, --help help for info
-n, --namespace string The namespace in which to look for the named function. (Env: $FUNC_NAMESPACE)
-o, --output string Output format (human|plain|json|xml|yaml|url) (Env: $FUNC_OUTPUT) (default "human")
-p, --path string Path to the project directory (Env: $FUNC_PATH) (default ".")
Options inherited from parent commands
-v, --verbose Print verbose logs ($FUNC_VERBOSE)
SEE ALSO
- func - Serverless functions