Skip to content

Commit f16dc04

Browse files
committed
docs on userStop option
1 parent b34cd60 commit f16dc04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ All CLI options are optional:
5757
--migrate -m After starting DynamoDB local, create DynamoDB tables from the Serverless configuration.
5858
--seed -s After starting and migrating dynamodb local, injects seed data into your tables. The --seed option determines which data categories to onload.
5959
--convertEmptyValues -e Set to true if you would like the document client to convert empty values (0-length strings, binary buffers, and sets) to be converted to NULL types when persisting to DynamoDB.
60+
--userStop After starting dynamodb local and all migrations and seeding is completed (if set to run), process will stay open until user terminates runinng process. When terminate signal received, it will stop the database on the running port.
6061
```
6162

6263
All the above options can be added to serverless.yml to set default configuration: e.g.
@@ -75,6 +76,7 @@ custom:
7576
migrate: true
7677
seed: true
7778
convertEmptyValues: true
79+
userStop: true
7880
# Uncomment only if you already have a DynamoDB running locally
7981
# noStart: true
8082
```

0 commit comments

Comments
 (0)