3 ft`@s:ddlmZddlmZddlmZGdddejZdS))absolute_import)commands)_c@s8eZdZdZdZedZeddZd d Z d d Z d S)DistroSyncCommandzZA class containing methods needed by the cli to execute the distro-synch command. distro-sync distrosyncdistribution-synchronizationdsyncz?synchronize installed packages to the latest available versionscCs|jddtdddS)Npackage*zPackage to synchronize)nargshelp) add_argumentr)parserr /usr/lib/python3.6/distrosync.py set_argparser"szDistroSyncCommand.set_argparsercCsF|jj}d|_d|_d|_d|_tj|j|jtj |j|j j dS)NT) ZclidemandsZsack_activationZavailable_reposZ resolvingZ root_userrZ _checkGPGKeybaseZ_checkEnabledRepooptsr )selfrrrr configure&szDistroSyncCommand.configurecCs|jj|jjS)N)rZdistro_sync_userlistrr )rrrrrun/szDistroSyncCommand.runN)rrrr ) __name__ __module__ __qualname____doc__aliasesrZsummary staticmethodrrrrrrrrs   rN)Z __future__rZdnf.clirZdnf.i18nrZCommandrrrrrs