File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ lambdaLocal.execute({
134134
135135### Available Arguments
136136* ` -l, --lambda-path <lambda index path> ` (required) Specify Lambda function file name.
137- * ` -e, --event-path <event path> ` (required) Specify event data file name.
137+ * ` -e, --event-path <event path> ` (required --watch is not in use ) Specify event data file name.
138138* ` -h, --handler <handler name> ` (optional) Lambda function handler name. Default is "handler".
139139* ` -t, --timeout <timeout> ` (optional) Seconds until lambda function timeout. Default is 3 seconds.
140140* ` -r, --region <aws region> ` (optional) Sets the AWS region, defaults to us-east-1.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import utils = require('./lib/utils');
1717 . name ( 'lambda-local' )
1818 . version ( lambdaLocal . version )
1919 . option ( '-l, --lambda-path <lambda index path>' , '(required) Lambda function file name.' )
20- . option ( '-e, --event-path <path>' , '(required) Event data file name.' )
20+ . option ( '-e, --event-path <path>' , '(required if --watch is not in use ) Event data file name.' )
2121 . option ( '-h, --handler <handler name>' ,
2222 '(optional) Lambda function handler name. Default is \'handler\'.' )
2323 . option ( '-t, --timeout <timeout seconds>' ,
You can’t perform that action at this time.
0 commit comments