Closed
Description
- Cookiecutter version: 2.4.0
- Template project URL: https://github.com/plone/cookiecutter-plone/blob/main/cookiecutter.json
- Python version: 3.11
- Operating System: macOs
Description:
The format for the template
key requires some additional parsing:
{
"template": [
"Project 1 (./project-1)",
"Project 2 (./project-2)"
]
}
Our proposal is also to support the following format:
{
"templates": {
"project-1": {
"path": "./project-1",
"title": "Project 1",
"description": "A cookiecutter template for a project"
},
"project-2": {
"path": "./package",
"title": "Package",
"description": "A cookiecutter template for a package"
}
}
}
Tasks
- Still support the old format under
template
(but display a deprecation warning) - Implement the new format under the
templates
key - Support external templates (if possible)