-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
enhancementThis issue/PR relates to a feature request.This issue/PR relates to a feature request.
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
templateskey - Support external templates (if possible)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementThis issue/PR relates to a feature request.This issue/PR relates to a feature request.