pip install -e git+https://github.com/vikranth22446/cookiecutter@update-config#egg=cookiecutter
The fork branch extends cookiecutter to include:
- custom prompt
- description
- prompt_user
- skip if
- skip to
- multilist
- validation
- welcome messages
- local extensions
Since the new cookiecutter format s currently under indefinte hold due to lack of sponsorship, this is a fork that can be used in projects with the new context features with minimal changes to the current format.
This is compatabile with version 1.6 up till July 3 2018
{"project_name":"Sample project","details": {
"default": "1.1.1",
"prompt": "Custom prompt",
"description": "Description of the field. Must be 3 digits",
"prompt_user": true,
"skip_if": "{% if cookiecutter.project_name == 'Sample Project'%}true{%endif%}",
"skip_to": "auth",
"validation": "\d{1,3}(,\d{3})*"
}}