a }|gd @ s d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ejZej Z dZ edd d dZd$ee e e e ddddZd%eeee eeeef f ee ee e eeef dddZd&eee ee e eeef dddZd'eeeee ee e e dddZd(eee eee ee e eeee f dddZd)eee ee e eeef ddd Zeeee dd!d"d#ZdS )*a$ Certbot display. This module (`certbot.display.util`) or its companion `certbot.display.ops` should be used whenever: - Displaying status information to the user on the terminal - Collecting information from the user via prompts Other messages can use the `logging` module. See `log.py`. )List)Optional)Tuple)Union)objH N)msgreturnc C s t j| dddd dS )zMDisplay a basic status message. :param str msg: message to display F)pausedecoratewrapNr get_displaynotification)r r 8/usr/lib/python3.9/site-packages/certbot/display/util.pynotify s r TF)messager r force_interactiver r c C s t j| ||||d dS )a Displays a notification and waits for user acceptance. :param str message: Message to display :param bool pause: Whether or not the program should pause for the user's confirmation :param bool wrap: Whether or not the application should wrap text :param bool force_interactive: True if it's safe to prompt the user because it won't cause any workflow regressions :param bool decorate: Whether to surround the message with a decorated frame )r r r r Nr )r r r r r r r r r &