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.0a0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for cookiesamurai-1.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71784501d0162630ee8d51afe6c3c5b36a5ba237bcd102d9c2bd0a073f77b1ee |
|
MD5 | dd928d22b90baf1f0b3bcebdc26bfb3a |
|
BLAKE2b-256 | 77c68b5187a68666f120322c90a468d88ff932a6a08cd1e3bbc7ea806c5df099 |