
    Pi                    N    d Z ddlmZ ddlmZmZ dgZ eddh          ZddZ	dS )zexxd handler for Dippy.

xxd is a hex dump tool. Safe for reading, but -r (revert) mode writes files.
    )annotations)ClassificationHandlerContextxxdz-rz-revertctxr   returnr   c                    | j         }|st          dd          S |dd         D ]}|t          v rt          dd          c S t          dd          S )	zClassify xxd command.askzxxd (no args))description   Nzxxd -r (write binary)allowr   )tokensr   UNSAFE_FLAGS)r   r   tokens      ./root/projects/gits/Dippy/src/dippy/cli/xxd.pyclassifyr      s}    ZF BeAAAA N NL  !%5LMMMMMM ! 'u5555    N)r   r   r   r   )
__doc__
__future__r   	dippy.clir   r   COMMANDS	frozensetr   r    r   r   <module>r      st    
 # " " " " " 4 4 4 4 4 4 4 47y$	*++
6 
6 
6 
6 
6 
6r   