mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Merge pull request #3132 from davetownsend/master
Add missing "local" qualifiers for invoke local function examples
This commit is contained in:
commit
32cc6d5575
@ -37,11 +37,11 @@ This example will locally invoke your function.
|
||||
### Local function invocation with data
|
||||
|
||||
```bash
|
||||
serverless invoke --function functionName --data "hello world"
|
||||
serverless invoke local --function functionName --data "hello world"
|
||||
```
|
||||
|
||||
```bash
|
||||
serverless invoke --function functionName --data '{"a":"bar"}'
|
||||
serverless invoke local --function functionName --data '{"a":"bar"}'
|
||||
```
|
||||
|
||||
### Local function invocation with data from standard input
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user