Ask for a secret on the terminal without echoing it. The prompt goes to stderr, so stdout keeps only the result.
The prompt.
The answer, or undefined when the prompt was cancelled.
Ask for a secret on the terminal without echoing it. The prompt goes to stderr, so stdout keeps only the result.