Skip to content
This repository has been archived by the owner on Feb 5, 2022. It is now read-only.

Proposal: support for generators in prompts() #125

Open
flasaracina opened this issue Mar 11, 2019 · 0 comments
Open

Proposal: support for generators in prompts() #125

flasaracina opened this issue Mar 11, 2019 · 0 comments

Comments

@flasaracina
Copy link

flasaracina commented Mar 11, 2019

Hello! It would be nice for the prompts() getter to return a javascript generator ( aka function* ) in order to have a more flexible questions list, I messed around with the source code and I did it for a project of mine. I don't know if I should make a pull request for it. If interested, let me know and I'll do it ASAP

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant