def confirm(*args, **kwargs):
try:<EOL><INDENT>return click.confirm(*args, **kwargs)<EOL><DEDENT>except click.Abort:<EOL><INDENT>return False<EOL><DEDENT>
Prompt for confirmation (yes/no) and handle any abort exceptions.