from typing import List
from typing import Dict


def _gen_confirm(msg: str) -> List[Dict]:
    """ For generating a confirmation prompt. """
    return [
        {
            'type': 'confirm',
            'message': msg,
            'name': 'confirmation'
        }
    ]