cookiecutter:
cookiecutter.json
Very often there is overlap between projects and you don't want to handle the boilerplate manually. In these cases cookiecutter can be an amazing tool that automates a lot of repetition away.
Notes
The way cookiecutter works is depicted in the diagram below.
The command line looks at the cookiecutter.json
file and all surrounding
files and folders that might contain a {{ cookiecutter.VARIABLE }}
in it.
Note that the folder name is {{cookiecutter.project}}
.
The contents of the cookiecutter.json
file;
{
"project": "project"
}
The contents of the readme.md
file;
# readme of {{cookiecutter.project}}
Feedback? See an issue? Something unclear? Feel free to mention it here.
If you want to be kept up to date, consider signing up for the newsletter.