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

Journalctl is safe for viewing logs, but modification flags need confirmation.
    )annotations)ClassificationHandlerContext
journalctl>   --sync--flush--rotate--vacuum-size--vacuum-time--vacuum-files--relinquish-varctxr   returnr   c                   | j         }|r|d         nd}|dd         D ]_}|t          v rt          d| d|           c S t          D ]4}|                    |dz             rt          d| d|           c c S 5`t          d	|          S )
z<Classify journalctl command (no modification flags is safe).r   r      Nask )description=allow)tokensUNSAFE_FLAGSr   
startswith)r   r   basetokenflags        5/root/projects/gits/Dippy/src/dippy/cli/journalctl.pyclassifyr      s    ZF06!99LD K KL  !%5F5Fu5F5FGGGGGG  	K 	KDs
++ K%eD9I9I49I9IJJJJJJJJK	K 't4444    N)r   r   r   r   )
__doc__
__future__r   	dippy.clir   r   COMMANDS	frozensetr   r    r   r   <module>r&      s     # " " " " " 4 4 4 4 4 4 4 4>y  
 

5 
5 
5 
5 
5 
5r   