Crypto CLI
    Preparing search index...

    Function promptHidden

    • Ask for a secret on the terminal without echoing it. The prompt goes to stderr, so stdout keeps only the result.

      Parameters

      • message: string

        The prompt.

      Returns Promise<string | undefined>

      The answer, or undefined when the prompt was cancelled.