-
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.
Milestone
Description
cookiecutter.json allows a key-value configuration, where value is a string. I would like to ask for a boolean (yes/no) variable to condition a block like this
{% if use_that_magic %}
....
{% endif %}The easiest way should be autodetect the variable type from the default value. For example
{ "full_name": "Martín Gaitán",
"use_that_magic": true,
...
}When prompt for use_that_magic the valid answer should be yes or no.
Also, could be an attribute type when implement #30
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementThis issue/PR relates to a feature request.This issue/PR relates to a feature request.