Simple usage example:
$ coal new aws-lambda
$ coal add update "aws lambda update-function-code --function-name func --zip-file fileb:///tmp/main.zip"
$ coal add errors "aws logs filter-log-events --log-group-name /aws/lambda/func --filter-pattern \"ERROR\""
$ update
{ "FunctionName": "func", ... "LastUpdateStatus": "Successful" }
$ errors
{ "events": [ { "logStreamName": "<redacted>", ... "message": "ERROR...", }, ... }
$ coal new git
$ coal add update "git pull"
Already up to date.
$ coal load aws-lambda
Simple usage example:
$ coal new aws-lambda
$ coal add update "aws lambda update-function-code --function-name func --zip-file fileb:///tmp/main.zip"
$ coal add errors "aws logs filter-log-events --log-group-name /aws/lambda/func --filter-pattern \"ERROR\""
$ update
{ "FunctionName": "func", ... "LastUpdateStatus": "Successful" }
$ errors
{ "events": [ { "logStreamName": "<redacted>", ... "message": "ERROR...", }, ... }
$ coal new git
$ coal add update "git pull"
$ update
Already up to date.
$ coal load aws-lambda
$ update
{ "FunctionName": "func", ... "LastUpdateStatus": "Successful" }