
    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 )zSpctl command handler for Dippy.

spctl manages the security assessment policy subsystem (Gatekeeper).
--assess/--status/--disable-status are safe read operations.
--global-enable/--global-disable/--add/--remove etc modify policy.
    )annotations)ClassificationHandlerContextspctl>   -a--assess--status--disable-statusctxr   returnr   c                    | j         }t          |          dk     rt          dd          S |dd         D ]6}|t          v r+|                    d          }t          dd	|           c S 7t          dd          S )
zClassify spctl command.   askr   )description   N-allowzspctl )tokenslenr   SAFE_OPTIONSlstrip)r   r   tokenopt_names       0/root/projects/gits/Dippy/src/dippy/cli/spctl.pyclassifyr      s    ZF
6{{Qe9999  L LL  ||C((H!'7J7J7JKKKKKK ! %W5555    N)r   r   r   r   )
__doc__
__future__r   	dippy.clir   r   COMMANDS	frozensetr   r    r   r   <module>r#      sx     # " " " " " 4 4 4 4 4 4 4 49 yKKKLL6 6 6 6 6 6r   