Calmcode - cookiecutter: adding folders

adding folders

1 2 3 4 5 6 7 8

You can add folders in cookiecutter as well to give your project even more structure. In this example the new folder name is {{cookiecutter.project_slug}}.

The contents of the cookiecutter.json file;

{
  "project": "project",
  "author": "author",
  "project_slug": "{{cookiecutter.project.lower().replace(' ', '_')}}"
}