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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password prompt #285

Open
1 task
nicogenz opened this issue Mar 27, 2024 · 0 comments
Open
1 task

Password prompt #285

nicogenz opened this issue Mar 27, 2024 · 0 comments

Comments

@nicogenz
Copy link

nicogenz commented Mar 27, 2024

Describe the feature

It would be nice to have the option for masked prompt input. I looked through the source code and it looks like you already have implemented such functionality, see

export const password = (opts: PasswordOptions) => {
however its not used yet. The problem is, you can only specify the input as Select, Text, Confirm and Multiselect when calling consola.prompt.

Additional information

  • Would you be willing to help implement this feature?
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

1 participant