
    Pi                    N    d Z ddlmZ ddlmZmZ dgZ eh d          Zdd
Z	dS )z
AWS CDK command handler for Dippy.

CDK commands for infrastructure as code.
Most commands modify infrastructure, only a few are safe.
    )annotations)ClassificationHandlerContextcdk>   lsackdiffdocslistsynthdoctorcontextnoticesmetadata
synthesizeacknowledgectxr   returnr   c                f   | j         }|r|d         nd}t          |          dk     rt          d|          S |d         }| d| }|dk    r;t          d	 |D                       rt          d|          S t          d
|          S |t          v rt          d
|          S t          d|          S )zClassify CDK command.r   r      ask)description    r   c              3     K   | ]}|d v V  	dS )>   --clear--resetN ).0ts     ./root/projects/gits/Dippy/src/dippy/cli/cdk.py	<genexpr>zclassify.<locals>.<genexpr>-   s(      ;;qq**;;;;;;    allow)tokenslenr   anySAFE_ACTIONS)r   r%   baseactiondescs        r!   classifyr,   !   s    ZF)6!99ED
6{{Qe6666AYFVD ;;F;;;;; 	;!%T::::g48888g48888%T2222r#   N)r   r   r   r   )
__doc__
__future__r   	dippy.clir   r   COMMANDS	frozensetr(   r,   r   r#   r!   <module>r2      s     # " " " " " 4 4 4 4 4 4 4 47 y   $3 3 3 3 3 3r#   