

def confirm(self, question, default=False, true_answer_regex='(?i)^y'):
    '\n        Confirm a question with the user.\n\n        :param question: The question to ask\n        :type question: str\n\n        :param default: The default value\n        :type default: bool\n\n        :param true_answer_regex: A regex to match the "yes" answer\n        :type true_answer_regex: str\n\n        :rtype: bool\n        '
    return self.output.confirm(question, default, true_answer_regex)

dataset/ETHPy150Open sdispater/cleo/cleo/commands/command.py Command.confirm/original