Serverless configuration builder and deployment tool for @kravc/dos service.
Install:
npm i --save-dev @kravc/serverless
Environment specific configurations should be added via config/serverless-*.yaml
files, e.g. config/serverless-dev.yaml
.
Deploy service to specific environment (e.g. stg
, default: dev
):
npx deploy [ENV]
Show service details for specific environment (e.g. stg
, default:
dev
):
npx info [ENV]
Show service logs for specific environment (e.g. stg
, default:
dev
):
npx logs [ENV]