Function renderConfirmationPrompt

  • Renders a confirmation prompt to the console.

    Parameters

    Returns Promise<boolean>

    Example

    ?  Delete the following themes from the store?

    Info message title

    Info message body

    ┃ • first theme (#1)
    ┃ • second theme (#2)

    > (y) Yes, confirm changes
    (n) Cancel

    Press ↑↓ arrows to select, enter or a shortcut to
    confirm.