consola icon indicating copy to clipboard operation
consola copied to clipboard

Password prompt

Open nicogenz opened this issue 10 months ago • 1 comments

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 https://github.com/unjs/consola/blob/24c98ceb90c269a170fd116134d91803a89f2c9d/src/utils/prompt.ts#L130 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?

nicogenz avatar Mar 27 '24 20:03 nicogenz

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

robingenz avatar Aug 15 '24 22:08 robingenz