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]

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