
    y9>i                     $    d Z ddlZd Zd Zd ZdS )z)Archive commands for the nomarch program.    Nc                 P    |t           j                            |           g}|d|ifS )zExtract an ARC archive.cwd)ospathabspath)archivecompressioncmd	verbosityinteractiveoutdircmdlists          Y/var/www/html/auto_sub_bot/venv/lib/python3.11/site-packages/patoolib/programs/nomarch.pyextract_arcr      s+     BGOOG,,-GeV_%%    c                 n    |dg}|dk    r|                     d           |                     |            |S )zList an ARC archive.z-l   z-v)append)r   r	   r
   r   r   r   s         r   list_arcr      s=    DkG1}}tNN7Nr   c                     |d| gS )zTest an ARC archive.z-t )r   r	   r
   r   r   s        r   test_arcr   %   s    wr   )__doc__r   r   r   r   r   r   r   <module>r      sM    0 / 				& & &           r   