-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type: "list" in prompt.js
is not working...?
#131
Comments
I have the same problem, did you solve it? Edit: I mixed up Thus |
To solve your solution use the "Enquirer" module and destructure the "Select object from it. From there you can create a new list with choices. There is no type called list. Code example provided below from (https://github.com/enquirer/enquirer#select-prompt). Issue can probably be closed.
|
❤️ |
To be specific for above example,
|
I want to select an item from list by prompt. But
type: "list"
looks not working... Please help me.I made
prompt.js
like this.I execute to create new file. The prompt is below.
I expected like list.
The text was updated successfully, but these errors were encountered: