A wrapper around cookiesamurai to allow for conditional questions.
Project description
Example for a cookiecutter.json file:
{
"question_1": {
"prompt": "What Powerranger you identify the most (Think of Power Ranger Samurai)?",
"answer": ["yellow", "blue", "green", "gold", "pink"]
},
"question_2": {
"prompt": "That sucks! Are you sure?",
"answer": ["yes", "no"],
"depends_on": {"question_1": "blue"}
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cookiesamurai-1.0.0a1.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for cookiesamurai-1.0.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55a1a97698cd674cae3a122512cb1fa5807f2140e3c09b91331c869bf5d81668 |
|
MD5 | dfe4b552ca8c86c2158d77e32d5543f4 |
|
BLAKE2b-256 | 3ba2ece0c9788a808d16eac1bd48534c36ea07a8a4885cd65b472343565bb033 |