Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: ability to use select prompt from Inquirer #381

Open
sympatheticmoose opened this issue Jun 1, 2023 · 2 comments
Open

Comments

@sympatheticmoose
Copy link

sympatheticmoose commented Jun 1, 2023

Thanks for all the work on this framework 馃檶

I'm not sure whether this is possible without a move to the Inquirer rewrite with @inquirer/prompt... but the addition of description alongside value as opposed to List makes it nice for providing guidance to users.

Wondered if there are any current plans to move to the new package?

@mheob
Copy link

mheob commented Jul 24, 2023

Using the description would be a great improvement.

@geff21st
Copy link

geff21st commented Jan 24, 2024

According to sources it's possible to pass an async callback into prompts like this:
image

I copied an example from inquirer docs and it seems to work okay:

image

Maybe it's not most elegant solution but it's flexible and it works.

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

No branches or pull requests

3 participants