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 · 1 comment
Open
1 task

Password prompt #285

nicogenz opened this issue Mar 27, 2024 · 1 comment
Labels
enhancement New feature or request propmpts

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?
@pi0 pi0 added enhancement New feature or request propmpts labels Jun 8, 2024
@robingenz
Copy link

@pi0 Would you accept a PR? Or is there any way to prioritize this issue through sponsorship?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request propmpts
Projects
None yet
Development

No branches or pull requests

3 participants