| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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.
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.
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.
you can view all available patterns by using the list command:
If you want to download the python version of a pattern you just need to include the --lang=python flag in the command:
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.
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
| Back | FazBrowse Home | New Git URL |