Skip to content

Instantly share code, notes, and snippets.

@tylernchls
Created October 23, 2017 04:28
Show Gist options
  • Save tylernchls/9724799ab699c75b8575faa60aaa25e6 to your computer and use it in GitHub Desktop.
Save tylernchls/9724799ab699c75b8575faa60aaa25e6 to your computer and use it in GitHub Desktop.

Test function locally

sls invoke local -f "function name"

Deploy function only

sls deploy -f "function name

Deploy everything

sls deploy

Function logs

sls logs -f "function name"

Serverless CLI help

sls help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment