Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Conversation

@neerajmandal
Copy link
Contributor

Invoke Plugin added
Example of how to invoke a function by passing data from command line

sls invoke -f {functionName} --data '{"name": "test"}'

Example of how to invoke a function by passing the file path from command line.
Note: The file containing the data should be present in the project directory (./project/data.json)

sls invoke -f {functionName} --path data.json

Resolves [AB#309]

Neeraj Mandal added 3 commits July 2, 2019 11:16
Signed-off-by: Neeraj Mandal <t-nemand@microsoft.com>
Signed-off-by: Neeraj Mandal <t-nemand@microsoft.com>
@neerajmandal neerajmandal deleted the t-nemand/invokeUpdate branch July 10, 2019 22:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants