CITGuru / PyInquirer

A Python module for common interactive command line user interfaces
MIT License
1.93k stars 234 forks source link

Creating Checkboxes From For Loop #2

Closed akkaygin closed 6 years ago

akkaygin commented 6 years ago

My code has a text file and the text file is editable, so I don't know the contents of it in real world but I need to have a multiselect (checkbox) feature. So the thing I'm trying to do is iterate over all items and make a multiselect list. I have the other parts, can I do something like this. If yes, how? Also I can use lists to create it. Thanks.

and I know that this is not an full issue but I don't have a better place to ask :(

@CITGuru idk does it affect but added you just in case

CITGuru commented 5 years ago

Yes you can loop and generate the checkboxes.