
    Pi                    4    d Z ddlmZ ddlmZmZ dgZdd	Zd
S )zq
Ifconfig command handler for Dippy.

Ifconfig is safe for viewing, but modification commands need confirmation.
    )annotations)ClassificationHandlerContextifconfigctxr   returnr   c                    | j         }|r|d         nd}t          |          dk    rt          d|          S t          d| d          S )z1Classify ifconfig command (viewing only is safe).r   r      allow)descriptionaskz (modify interface))tokenslenr   )r   r   bases      3/root/projects/gits/Dippy/src/dippy/cli/ifconfig.pyclassifyr      s]    ZF.6!99JD 6{{ag48888%-I-I-IJJJJ    N)r   r   r   r   )__doc__
__future__r   	dippy.clir   r   COMMANDSr    r   r   <module>r      sf     # " " " " " 4 4 4 4 4 4 4 4<K K K K K Kr   