Skip to content

Commit 73d4db9

Browse files
committed
Document non-destructive nature and commands, and fix clean cmd
1 parent 3ee0c4d commit 73d4db9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,9 @@ import requests
3737
* MacOS & Windows: For now this only works with pure Python modules unless running serverless on the same architeture as AWS (x86_64 Linux).
3838
* if using the `package` directive in `serverless.yml` ensure that `.requirements` and `requirements.py` are included.
3939

40+
41+
## Manual invocations
42+
43+
The `.requirements` and `requirements.py` files are left behind to simplify
44+
development. To clean them up, run `sls requirements clean`. You can also
45+
install them manually for local development with `sls requirements install`.

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ class ServerlessPythonRequirements {
7979
'clean',
8080
],
8181
},
82-
},
83-
commands: {
8482
'install': {
8583
usage: 'install requirements manually',
8684
lifecycleEvents: [

0 commit comments

Comments
 (0)