A function that can be used to prompt the user for a password in the terminal. The
input will be hidden as the user type (i.e., the input will be TTY).
Parameters
Optionalprompt: string
An optional text message to show as prompt for the user's input.
Returns Promise<string>
A Promise that resolves to a string containing the user's input.
A function that can be used to prompt the user for a password in the terminal. The input will be hidden as the user type (i.e., the input will be
TTY
).