mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
853 B
853 B
Read this on the main serverless docs site
Knative - Invoke
Invokes the deployed function and display its output on the console.
serverless invoke --function functionName
Options
--functionor-fThe name of the function in your service that you want to invoke. Required.
Examples
serverless invoke --function functionName
This example will invoke your deployed function named functionName and outputs the result of the invocation in your terminal.