• A function that can be used to prompt the user for an arbitrary text input.

    Parameters

    • Optional prompt: 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.

    Note

    This function uses the read package internally.

Generated using TypeDoc