a !c@s:ddlmZddlmZddlmZGdddejZdS))absolute_import)commands)_c@s8eZdZdZdZedZeddZddZ dd Z d S) DistroSyncCommandzZA class containing methods needed by the cli to execute the distro-synch command. )z distro-syncZ distrosynczdistribution-synchronizationZdsyncz?synchronize installed packages to the latest available versionscCs|jddtdddS)Npackage*zPackage to synchronize)nargshelp) add_argumentr)parserr ?/usr/lib/python3.9/site-packages/dnf/cli/commands/distrosync.py set_argparser"szDistroSyncCommand.set_argparsercCsF|jj}d|_d|_d|_d|_t|j|jt |j|j j dS)NT) ZclidemandsZsack_activationZavailable_reposZ resolvingZ root_userrZ _checkGPGKeybaseZ_checkEnabledRepooptsr)selfrr r r configure&szDistroSyncCommand.configurecCs|j|jjS)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 s