Andrew Krug @andrewkrug
sls deploy
curl <host>/posts
curl <host>/posts/5
Just use it on anything:
sls help
or
sls <command> --help
Deploy only one function:
sls deploy function -f <function-name>
Tail the logs of a function:
sls logs -f <function-name> -t
Information about the service (stage, region, endpoints, functions):
sls info
Run a specific function with a provided input and get the logs
sls invoke -f <function-name> -p event.json -l