name : distrosync.cpython-39.pyc
a

�!c��@s:ddlmZddlmZddlmZGdd�dej�ZdS)�)�absolute_import)�commands)�_c@s8eZdZdZdZed�Zedd��Zdd�Z	dd	�Z
d
S)�DistroSyncCommandzZA class containing methods needed by the cli to execute the
    distro-synch command.
    )zdistro-syncZ
distrosynczdistribution-synchronizationZdsyncz?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.9/site-packages/dnf/cli/commands/distrosync.py�
set_argparser"szDistroSyncCommand.set_argparsercCsF|jj}d|_d|_d|_d|_t�|j|j�t�	|j|j
j�dS)NT)Zcli�demandsZsack_activationZavailable_reposZ	resolvingZ	root_userrZ_checkGPGKey�baseZ_checkEnabledRepo�optsr)�selfrrrr
�	configure&szDistroSyncCommand.configurecCs|j�|jj�S)N)rZdistro_sync_userlistrr)rrrr
�run/szDistroSyncCommand.runN)�__name__�
__module__�__qualname__�__doc__�aliasesrZsummary�staticmethodrrrrrrr
rs
	rN)Z
__future__rZdnf.clirZdnf.i18nrZCommandrrrrr
�<module>s

© 2025 Cubjrnet7