Polyman Documentation - v3.1.0
    Preparing search index...

    Function readAllStdin

    • Reads all of stdin, for --key-stdin. It refuses a terminal, since the key would show on screen while typed; the hidden prompt is for that.

      Parameters

      • input: Pick<NodeJS.ReadStream, "isTTY" | "on"> = process.stdin

      Returns Promise<string>