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({
134
134
135
135
### Available Arguments
136
136
* ` -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.
138
138
* ` -h, --handler <handler name> ` (optional) Lambda function handler name. Default is "handler".
139
139
* ` -t, --timeout <timeout> ` (optional) Seconds until lambda function timeout. Default is 3 seconds.
140
140
* ` -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');
17
17
. name ( 'lambda-local' )
18
18
. version ( lambdaLocal . version )
19
19
. 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.' )
21
21
. option ( '-h, --handler <handler name>' ,
22
22
'(optional) Lambda function handler name. Default is \'handler\'.' )
23
23
. option ( '-t, --timeout <timeout seconds>' ,
You can’t perform that action at this time.
0 commit comments