A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/horike37/serverless-command-line-event-args below:

horike37/serverless-command-line-event-args: This module is Serverless Framework plugin. Event JSON passes to your Lambda function in commandline.

Serverless CommandLine Event Args

This is a Serverless Framework plugin. Event JSON passes to your Lambda function in commandline when you execute serverless invoke. Support for Serverless 1.0.

I think useful for developers, because event.json is a little difficult to manage.

Execute your Lambda function. Add -e '<JSON>' or --event '<JSON>'.

$ serverless invoke -f YourFunction --event '{"foo":"var"}'

Execute npm install in your Serverless project.

$ npm install serverless-command-line-event-args

Add the plugin to your serverless.yml file

plugins:
  - serverless-command-line-event-args

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4