Sindbad~EG File Manager
3
�ft`��@s:ddlmZddlmZddlmZGdd�dej�ZdS)�)�absolute_import)�commands)�_c@s8eZdZdZdZed�Zedd��Zd d
�Z dd�Z
d
S)�DistroSyncCommandzZA class containing methods needed by the cli to execute the
distro-synch command.
�distro-sync�
distrosync�distribution-synchronization�dsyncz?synchronize installed packages to the latest available versionscCs|jddtd�d�dS)N�package�*zPackage to synchronize)�nargs�help)�add_argumentr)�parser�r� /usr/lib/python3.6/distrosync.py�
set_argparser"szDistroSyncCommand.set_argparsercCsF|jj}d|_d|_d|_d|_tj|j|j�tj |j|j
j�dS)NT)Zcli�demandsZsack_activationZavailable_reposZ resolvingZ root_userrZ_checkGPGKey�baseZ_checkEnabledRepo�optsr
)�selfrrrr� configure&szDistroSyncCommand.configurecCs|jj|jj�S)N)rZdistro_sync_userlistrr
)rrrr�run/szDistroSyncCommand.runN)rrrr )�__name__�
__module__�__qualname__�__doc__�aliasesrZsummary�staticmethodrrrrrrrrs rN)Z
__future__rZdnf.clirZdnf.i18nrZCommandrrrrr�<module>s
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists