{"id":21725121,"url":"https://github.com/cdk-patterns/cli","last_synced_at":"2025-07-30T23:02:36.580Z","repository":{"id":43980540,"uuid":"245786517","full_name":"cdk-patterns/cli","owner":"cdk-patterns","description":"This is the cli tool to accompany cdkpatterns.com, you can now deploy any pattern from 0 code in just 3 commands","archived":false,"fork":false,"pushed_at":"2022-02-13T03:34:52.000Z","size":574,"stargazers_count":34,"open_issues_count":9,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T02:19:38.616Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdk-patterns.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-08T09:32:08.000Z","updated_at":"2025-03-07T23:58:31.000Z","dependencies_parsed_at":"2022-09-16T10:50:39.225Z","dependency_job_id":null,"html_url":"https://github.com/cdk-patterns/cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdk-patterns%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdk-patterns%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdk-patterns%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdk-patterns%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdk-patterns","download_url":"https://codeload.github.com/cdk-patterns/cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248643045,"owners_count":21138353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T03:15:36.564Z","updated_at":"2025-04-12T22:54:06.420Z","avatar_url":"https://github.com/cdk-patterns.png","language":"TypeScript","readme":"cdkp\n====\n\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\n[![Downloads](https://img.shields.io/npm/dt/cdkp)](https://npmjs.org/package/cdkp)\n\nCLI 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.\n\n### Three Simple Commands To Deploy A pattern\n\n\u003cimg src=\"https://raw.githubusercontent.com/cdk-patterns/cli/master/img/commands.png\" alt=\"three simple commands\" width=\"300px\" /\u003e\n\n\n## Requirements\n\nYou 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.\n\n## Usage\n\n### Downloading a pattern\n\n`npx cdkp init {pattern-name}`\n\npattern-name is the string name of any of the existing patterns on cdkpatterns.com with - instead of spaces e.g.\n\n* `npx cdkp init the-big-fan`\n* `npx cdkp init the-simple-webservice`\n* `npx cdkp init the-eventbridge-atm`\n\n### Viewing Available Patterns\n\nyou can view all available patterns by using the list command:\n\n* `npx cdkp list`\n\n### Advanced Usage\n\nIf you want to download the python version of a pattern you just need to include the --lang=python flag in the command:\n\n* `npx cdkp init the-big-fan --lang=python`\n\nYou 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.\n\n* `npx cdkp init the-big-fan -f`\n\nIf 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\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdk-patterns%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdk-patterns%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdk-patterns%2Fcli/lists"}