cdkp
CLI tool for cdk patterns
Last updated 3 months ago by nideveloper .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cdkp 
SYNC missed versions from official npm registry.

cdkp

oclif Downloads

CLI tool for cdkpatterns.com to make it as simple as one command to download and learn a new pattern. This tool will only download the one pattern you are interested in rather than the whole repo.

Three Simple Commands To Deploy A pattern

three simple commands

Requirements

You must have git installed on your system as this is what is used to download the pattern. This uses the code at cdkpatterns.com, there is no external api.

Usage

Downloading a pattern

npx cdkp init {pattern-name}

pattern-name is the string name of any of the existing patterns on cdkpatterns.com with - instead of spaces e.g.

  • npx cdkp init the-big-fan
  • npx cdkp init the-simple-webservice
  • npx cdkp init the-eventbridge-atm

Viewing Available Patterns

you can view all available patterns by using the list command:

  • npx cdkp list

Advanced Usage

If you want to download the python version of a pattern you just need to include the --lang=python flag in the command:

  • npx cdkp init the-big-fan --lang=python

You can also only init a pattern into a directory once because the second time would wipe the contents of the folder. There is a -f flag if you really want to wipe the contents e.g.

  • npx cdkp init the-big-fan -f

If a folder called the-big-fan already existed in the directory you ran the command because you added the force flag it will be wiped

Current Tags

  • 0.6.1                                ...           latest (3 months ago)

10 Versions

  • 0.6.1                                ...           3 months ago
  • 0.6.0                                ...           3 months ago
  • 0.5.0                                ...           3 months ago
  • 0.4.0                                ...           3 months ago
  • 0.3.1                                ...           3 months ago
  • 0.3.0                                ...           3 months ago
  • 0.2.1                                ...           3 months ago
  • 0.2.0                                ...           3 months ago
  • 0.1.0                                ...           3 months ago
  • 0.0.1                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (5)
Dev Dependencies (14)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |