Muted question()
Fixes #521
This PR extends the question() function a bit by allowing it to be passed the muted and mutedCharacter options.
This allows the user to hide the input they are typing.
- [X] Tests pass
- [X] Appropriate changes to README are included in PR
- [x] Types updated
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
@antonmedv Could you please approve this PR for workflows run?
I'm still thinking about the solution. Maybe include https://www.npmjs.com/package/read instead.
Ok, I understand. I thought about using this package but the last release was 7 years ago, it made me a bit discouraged. Additionally, there are still issues which say that silent doesn't quite work as it should.
Will check issues
@cleverhare Conflicts resolved.
@antonmedv @cleverhare Can we merge this pull request?
Sure. Let me review it one more time.
yes you can merge it now
@cyntler Can you merge your changes?
Yes it is absolutely okay to get merged
@logeshswell @cleverhare No, unfortunately I can't. This is not my repository. I'm still waiting for the merge of these changes since last year but nothing happens.
CC: @antonmedv
@antonmedv do you have a update on when this will be able to be merged?
@antonmedv will this PR still get implemented? Seems like it's closed without any other message? Unless I'm missing something?
I think this complicates question() func . It is better suited for a separate package. WDYT?
Sound fine to me 👍🏻