
    si                     D    S r SSKJrJrJr  S\S\4S jrS\S\S\4S jrg	)
zrCLI implementation for `conda notices`.

Manually retrieves channel notifications, caches them and displays them.
    )ArgumentParser	Namespace_SubParsersActionsub_parsersreturnc                     SSK Jn  SSKJnJn  SnU" SU S35      nU" S5      nU R
                  "  SUUUS	.UD6nU" U5        U" U5        UR                  S
S9  U$ )N   )dals   )add_parser_channelsadd_parser_jsonz&Retrieve latest channel notifications.z	
        z

        Conda channel maintainers have the option of setting messages that
        users will see intermittently. Some of these notices are informational
        while others are messages concerning the stability of the channel.

        z_
        Examples::

            conda notices

            conda notices -c defaults

        )helpdescriptionepilogzconda.cli.main_notices.execute)func)notices)
auxlib.ishr
   helpersr   r   
add_parserset_defaults)	r   kwargsr
   r   r   summaryr   r   ps	            6lib/python3.13/site-packages/conda/cli/main_notices.pyconfigure_parserr      s    !=6G			 			K 		F 				
 	A ANN8N9H    argsparserc                     SSK Jn  SSKJn   UR	                  5       nUR                  U5        g! [
         a  nU" SU 35      eSnAff = f)zLCommand that retrieves channel notifications, caches them and displays them.r	   )
CondaError)corezUnable to retrieve notices: Nr   )
exceptionsr    r   r!   retrieve_noticesOSErrordisplay_notices)r   r   r    r   channel_notice_setexcs         r   executer(   4   sU    ')?$557 ./  ?7u=>>?s   0 
A
AA
N)__doc__argparser   r   r   r   intr(    r   r   <module>r-      sB   
 B A&"3 &. &R) ^  r   