Ignore example
Closed this issue · 3 comments
It would be very nice to have a ignore example.
I have a list of four questions: two Confirm questions and two Text after each Confirm. I want to prompt the Text questions only if you answered yes to the previous. How would you do that using python-inquirer?
I've searched the whole repo and documentation and didn't find one. Could you add one please?
It would be very nice to have a ignore example.
I have a list of four questions: two Confirm questions and two Text after each Confirm. I want to prompt the Text questions only if you answered yes to the previous. How would you do that using python-inquirer?
I've searched the whole repo and documentation and didn't find one. Could you add one please?
Can you show a reproducible example?
Hypothetical example. Eg.
- Confirm: do you like coffee?
- Confirm: do you really love coffee?
- Text: describe when do you drink coffee during the day. (ignored if 2 is false)
- Text: describe what happens why you when you stay a whole day without coffee (also ignored if 2 is false)
Tests are part of the documentation because they are examples, and there are tests around ignore
.
Anyway, I'm documenting them in a better way