0.1.6 • Published 4 years ago

create-cdk-app v0.1.6

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

create-cdk-app

Create CDK apps from templates.

View templates here.

Usage

NPM

$ npx create-cdk-app <options> <project-dir>

Yarn

$ yarn create cdk-app <options> <project-dir>

If you choose a default template, you will be prompted to choose a language. This is then passed to a child-process that runs cdk init. This requires aws-cdk to be installed and available in the context of the shell.

A template from templates

$ yarn create cdk-app -t default my-new-app

This will scaffold the default template into the my-new-app directory.

Authentication

It is highly recommended that you set the following to environment variables:

GITHUB_USERNAME=<your username>
GITHUB_TOKEN=<personal access|oauth token>

These will be pulled in and used for all github-related requests.

Github will rate-limit you to 5000 calls per hour if you're not using authentication. This limit is easily reached if you use a lot of other tools that are making these types of requests, or if you share an internet connection with many other people interacting with github.

Using authentication also comes with the added benefit of being able to use private repos as template sources.

Adding a template

Please review the template contributing documentation.

Contributing

Please review the contributing documentation.

0.1.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago