@aws-serverless-tools/cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

AWS Serverless Tools

In alpha mode. Maybe pre-alpha. Docs coming soon.

CLI

Installation

npm install -g @aws-serverless-tools/cli

Basic Use

Initialize serverless Nest Express API

In the same folder as package.json, run the following command:

aws-serverless-tools init --type=nest-express-api

This script does the following:

  1. Obtains required details about your API and CloudFormation app.
  2. Scaffolds a cfn directory with the CloudFormation template, a bare-bones OpenApi file, a parameters file, a tags file, and a deployment script for local use (CI/CD support & documentation coming). Also generates a src/lambda-entry-point.ts file for the Lambda bootstrapping.
  3. Installs required packages to support AWS and OpenApi tooling.
  4. Configures the deploy and openapi NPM scripts.
  5. Adds configuration for the CloudFormationLambdaParametersConfig tool and the OpenAPI generation tool.

Stay in touch

License

Nest is MIT licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i @aws-serverless-tools/cli

Weekly Downloads

1

Version

1.0.0

License

UNLICENSED

Unpacked Size

632 kB

Total Files

52

Last publish

Collaborators

  • bam036
  • kerryritter