-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
event.json should accept array #283
Comments
How about in a corresponding way with Prepare an event file with a certain rule. (Such as event_test1.json, event_test2.json, ...) for eventfile in event_test*.json; do node-lambda run -j ${eventfile}; done Also, if you write similar contents in package.json you can do it with ...
"scripts": {
...
"multipleEventsTest": "for eventfile in event_test*.json; do node-lambda run -j ${eventfile}; done"
},
... $ npm run multipleEventsTest |
Closing due to no response registered after a possible solution has been offered. Feel free to comment in case the issue persisted. |
Yeah it woks, but would be cleaner if |
Is there a away to allow
event.json
file to have an array of events instead? I just want to test many cases with a simple command.The only way I came up with is to manually execute
run
cmd passing different files as parameters.Thanks.
The text was updated successfully, but these errors were encountered: