Function gix_prompt::securely
source · pub fn securely(prompt: impl AsRef<str>) -> Result<String, Error>
Expand description
Ask for information securely after showing the prompt
(like "password: "
) by not showing what’s typed.
Use ask()
for more control.