sls command for function
How to deploy, run, stream logs and destroy Lambda functions
deploy
# deploy
$ sls deploy -v
# deploy only a function
$ sls deploy function -f <function name>
invoke
# invoke function on local
$ sls invoke -f <function name> -l
log
$ sls log -f <function name> -t
remove
$ sls remove