$46 GRAYBYTE WORDPRESS FILE MANAGER $44

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.216.174
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/

HOME
Current File : /usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__//__init__.cpython-36.pyc
3

�ft`{}�@sdZddlmZddlmZddlmZddlmZddlZ	ddl
Z	ddlZ	ddlZ	ddl
Z
ddlZe
jd�Zed�d	Zed
�dZed�Zd
d�Zffdd�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZdS)z<
Classes for subcommands of the yum command line interface.
�)�print_function)�unicode_literals)�OptionParser)�_N�dnfz+To diagnose the problem, try running: '%s'.zrpm -Va --nofiles --nodigestzDYou probably have corrupted RPMDB, running '%s' might fix the issue.zrpm --rebuilddbaYou have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
    rpm --import public.gpg.key


Alternatively you can specify the url to the key you would like to use
for a repository in the 'gpgkey' option in a repository section and {prog}
will install it for you.

For more information contact your distribution or package provider.cCsp|jjsdS|j�slxV|jj�D]H}|js0|jr |jr tjdt	j
tjj
d��tjtd�|�tjj�q WdS)z�Verify that there are gpg keys for the enabled repositories in the
    rpm database.

    :param base: a :class:`dnf.Base` object.
    :raises: :class:`cli.CliError`
    Nz
%s
)�progzProblem repository: %s)�confZgpgcheckZ_gpg_key_check�reposZiter_enabledZ
repo_gpgcheckZgpgkey�loggerZcritical�gpg_msg�formatr�util�MAIN_PROG_UPPERr�cli�CliError)�baser�repo�r�/usr/lib/python3.6/__init__.py�_checkGPGKey:srcCs||jj�rdSxD|D]<}|jd�r2tjj|�r2dStjjj|�d}|d
krdSqWt	d�j
d	j|jj
��}tjj|��dS)z�Verify that there is at least one enabled repo.

    :param base: a :class:`dnf.Base` object.
    :param possible_local_files: the list of strings that could be a local rpms
    :raises: :class:`cli.CliError`:
    Nz.rpmr�http�ftp�file�httpsz*There are no enabled repositories in "{}".z", ")rrrr)r	Z_any_enabled�endswith�os�path�existsrZpycompZurlparserr�joinrZreposdirrr)rZpossible_local_filesZlfile�scheme�msgrrr�_checkEnabledRepoKs

r!c@s�eZdZdZgZdZdZdd�Zedd��Z	edd	��Z
ed
d��Zdd
�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�ZdS)�Commandz%Abstract base class for CLI commands.�NcCs
||_dS)N)r)�selfrrrr�__init__fszCommand.__init__cCs|jjS)N)rr)r$rrrrjszCommand.basecCs
|jdS)Nr)�aliases)r$rrr�_basecmdoszCommand._basecmdcCs
|jjjS)N)rr�output)r$rrrr(sszCommand.outputcCsdS)z4Define command specific options and arguments. #:apiNr)r$�parserrrr�
set_argparserwszCommand.set_argparsercCsdS)z*Do any command-specific pre-configuration.Nr)r$rrr�
pre_configure{szCommand.pre_configurecCsdS)z&Do any command-specific configuration.Nr)r$rrr�	configure�szCommand.configurecCs&t|tjj�rttfStd|��dS)z.Get suggestions for resolving the given error.zerror not supported yet: %sN)�
isinstancer�
exceptionsZTransactionCheckError�_RPM_VERIFY�_RPM_REBUILDDB�NotImplementedError)r$�errorrrr�get_error_output�szCommand.get_error_outputcCsdS)zExecute the command.Nr)r$rrr�run�szCommand.runcCsdS)z$Finalize operation after resolvementNr)r$rrr�run_resolved�szCommand.run_resolvedcCsdS)z%Finalize operations post-transaction.Nr)r$rrr�run_transaction�szCommand.run_transaction)�__name__�
__module__�__qualname__�__doc__r&�summary�optsr%�propertyrr'r(r*r+r,r3r4r5r6rrrrr"_sr"c	@sReZdZdZdZed�ZdZddddd	d
ddeh	Ze	d
d��Z
dd�Zdd�ZdS)�InfoCommandzRA class containing methods needed by the cli to execute the
    info command.
    �infoz4display details about a package or group of packages�all�	available�	installed�extras�updates�upgrades�
autoremove�recent�	obsoletesc	Cs�|j�}|jdddddtd�d�|jddddtd	�d
�|jddddtd
�d
�|jddddtd�d
�|jddddtd�d
�|jddddtd�d
�|jddddtd�d
�|jddddtd�d
�|jddtd�|j|jtjtd�d�dS) Nz--all�_packages_action�store_constr@zshow all packages (default))�dest�action�const�default�helpz--availablerAzshow only available packages)rKrLrMrOz--installedrBzshow only installed packagesz--extrasrCzshow only extras packagesz	--updatesrEzshow only upgrades packagesz
--upgradesz--autoremoverFzshow only autoremove packagesz--recentrGz#show only recently changed packages�packages�*�PACKAGEzPackage name specification)�nargs�metavar�choicesrNrLrO)�add_mutually_exclusive_group�add_argumentr�
pkgnarrows�DEFAULT_PKGNARROWr�PkgNarrowCallback)�clsr)�narrowsrrrr*�s:zInfoCommand.set_argparsercCs||jj}d|_|jjr"|jj|j_|jjdkr4d|_|jjrd|jjr\|jjdd|jj�nd|j_|jjdkrxd|j_dS)NTrBz--obsoletesz--rHrDrE)	r�demands�sack_activationr<rI�packages_action�available_reposrH�_option_conflict)r$r]rrrr,�szInfoCommand.configurecCs&|jj|j�|jjd|jj|jj�S)Nr?)r� _populate_update_security_filterr<r�output_packagesr_rP)r$rrrr4�szInfoCommand.runN)r?)
r7r8r9r:r&rr;rYrX�classmethodr*r,r4rrrrr>�s
 r>c@s$eZdZdZdZed�Zdd�ZdS)	�ListCommandzRA class containing methods needed by the cli to execute the
    list command.
    �list�lsz$list a package or groups of packagescCs&|jj|j�|jjd|jj|jj�S)Nrf)rrbr<rrcr_rP)r$rrrr4�szListCommand.runN)rfrg)r7r8r9r:r&rr;r4rrrrre�srec@s8eZdZdZd
Zed�Zedd��Zdd	�Z	d
d�Z
dS)�ProvidesCommandzVA class containing methods needed by the cli to execute the
    provides command.
    �provides�whatprovides�provz*find what package provides the given valuecCs|jddtd�td�d�dS)N�
dependency�+ZPROVIDEz#Provide specification to search for)rSrTrO)rWr)r)rrrr*�szProvidesCommand.set_argparsercCs|jj}d|_d|_d|_dS)NTF)rr]r`Zfresh_metadatar^)r$r]rrrr,�szProvidesCommand.configurecCstjtd��|jj|jj�S)NzSearching Packages: )r
�debugrrrir<rl)r$rrrr4�szProvidesCommand.runN)rirjrk)r7r8r9r:r&rr;�staticmethodr*r,r4rrrrrh�srhc@s8eZdZdZdZed�Zedd��Zdd�Z	d	d
�Z
dS)
�CheckUpdateCommandzZA class containing methods needed by the cli to execute the
    check-update command.
    �check-update�
check-upgradez$check for available package upgradescCs0|jddddtd�d�|jddtd	�d
�dS)Nz--changelogs�
changelogsF�
store_truezshow changelogs before update)rKrNrLrOrPrQrR)rSrT)rWr)r)rrrr*sz CheckUpdateCommand.set_argparsercCs6|jj}d|_d|_d|_|jjr(d|_t|j�dS)NT)	rr]r^r`Zplugin_filtering_enabledr<rsr!r)r$r]rrrr,szCheckUpdateCommand.configurecCsR|jj|jdd�|jj|jjd|jjd�}|r:d|jj_|jj	j
rN|jj�dS)NZgte)Zcmp_typeT)�print_rs�d)rrbr<r�
check_updatesrPrsr]�success_exit_statusrZautocheck_running_kernelZ_check_running_kernel)r$�foundrrrr4s

zCheckUpdateCommand.runN)rqrr)r7r8r9r:r&rr;ror*r,r4rrrrrp�s	rpcseZdZdZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�Z	Gdd
�d
e�Z
Gdd�de�ZGdd�de�ZGdd�de�Z
Gdd�de�ZGdd�de�Zeeeee	e
eee
eehZd%Zed�Z�fdd�Zdd �Zd!d"�Zd#d$�Z�ZS)&�RepoPkgsCommandz2Implementation of the repository-packages command.c@s$eZdZdZdZdd�Zdd�ZdS)	z%RepoPkgsCommand.CheckUpdateSubCommandz'Implementation of the info sub-command.�check-updatecCs|jj}d|_d|_dS)NT)rr]r`r^)r$r]rrrr,(sz/RepoPkgsCommand.CheckUpdateSubCommand.configurecCs*|jj|jj|jdd�}|r&d|jj_dS)z?Execute the command with respect to given arguments *cli_args*.T)rurvN)rrwr<�	pkg_specs�reponamerr]rx)r$ryrrr�run_on_repo-sz1RepoPkgsCommand.CheckUpdateSubCommand.run_on_repoN)r{)r7r8r9r:r&r,r~rrrr�CheckUpdateSubCommand#src@s$eZdZdZdZdd�Zdd�ZdS)	zRepoPkgsCommand.InfoSubCommandz'Implementation of the info sub-command.r?cCsh|jj}d|_|jjr"|jj|j_|jjdkr4d|_|jjrd|jjr\|jjdd|jj�nd|j_dS)NTrBz--obsoletesz--rH)	rr]r^r<�_pkg_specs_action�pkg_specs_actionr`rHra)r$r]rrrr,9sz(RepoPkgsCommand.InfoSubCommand.configurecCs.|jj|j�|jjd|jj|jj|j�dS)z?Execute the command with respect to given arguments *cli_args*.r?N)rrbr<rrcr�r|r})r$rrrr~Fsz*RepoPkgsCommand.InfoSubCommand.run_on_repoN)r?)r7r8r9r:r&r,r~rrrr�InfoSubCommand4s
r�c@s$eZdZdZdZdd�Zdd�ZdS)	z!RepoPkgsCommand.InstallSubCommandz*Implementation of the install sub-command.�installcCs$|jj}d|_d|_d|_d|_dS)NT)rr]r`r^�	resolving�	root_user)r$r]rrrr,Qs
z+RepoPkgsCommand.InstallSubCommand.configurecCs�|jj|j�t|j|j�d}|jjsjy|jjd|j�Wn&tj	j
k
rbtjt
d��Yq�Xd}nvxt|jjD]h}y|jj||j�WnJtj	j
k
r�}z*dj|j|jjjj|��}tj|�WYdd}~XqtXd}qtW|s�tj	jt
d���dS)NFrQzNo package available.Tz{}: {}zNo packages marked for install.)rrbr<rrr|r�r}rr.�MarkingErrorr
r?rr�valuer(�term�bold�Error)r$�done�pkg_spec�er rrrr~Xs$z-RepoPkgsCommand.InstallSubCommand.run_on_repoN)r�)r7r8r9r:r&r,r~rrrr�InstallSubCommandLsr�c@seZdZdZdZdd�ZdS)zRepoPkgsCommand.ListSubCommandz'Implementation of the list sub-command.rfcCs.|jj|j�|jjd|jj|jj|j�dS)z?Execute the command with respect to given arguments *cli_args*.rfN)rrbr<rrcr�r|r})r$rrrr~zsz*RepoPkgsCommand.ListSubCommand.run_on_repoN)rf)r7r8r9r:r&r~rrrr�ListSubCommandusr�c@s$eZdZdZdZdd�Zdd�ZdS)	z RepoPkgsCommand.MoveToSubCommandz*Implementation of the move-to sub-command.�move-tocCs$|jj}d|_d|_d|_d|_dS)NT)rr]r^r`r�r�)r$r]rrrr,�s
z*RepoPkgsCommand.MoveToSubCommand.configurecCs�t|j|j�d}|jjs�y|jjd|jd�Wnltjj	k
rVt
jtd��YnLtjj
k
rzt
jtd��Yn(tjjk
r�ds�td��YnXd}n�x�|jjD]�}y|jj||jd�Wn�tjj	k
r�td�}t
j||�Yq�tjj
k
�rp}z\xT|jD]J}d	}|jjj|�}|�r:td
�|}td�}t
j||jjj|�|��qWWYdd}~Xq�tjjk
�r�d�s�td��Yq�Xd}q�W|�s�tjjtd
���dS)z?Execute the command with respect to given arguments *cli_args*.FrQ)Znew_reponamezNo package installed.zNo package available.z+Only the above marking errors are expected.TzNo match for argument: %sr#z
 (from %s)z%Installed package %s%s not available.NzNothing to do.)rrrr<r|�	reinstallr}rr.�PackagesNotInstalledErrorr
r?r�PackagesNotAvailableErrorr��AssertionErrorrP�historyrr(r�r�r�)r$r�r�r �err�pkg�xmsg�pkgreporrrr~�s@.z,RepoPkgsCommand.MoveToSubCommand.run_on_repoN)r�)r7r8r9r:r&r,r~rrrr�MoveToSubCommand�sr�c@s$eZdZdZdZdd�Zdd�ZdS)	z&RepoPkgsCommand.ReinstallOldSubCommandz0Implementation of the reinstall-old sub-command.�
reinstall-oldcCs$|jj}d|_d|_d|_d|_dS)NT)rr]r^r`r�r�)r$r]rrrr,�s
z0RepoPkgsCommand.ReinstallOldSubCommand.configurecCs�t|j|j�d}|jjs�y|jjd|j|j�Wnptjj	k
r\t
d�}tj|�YnLtjj
k
r�tjt
d��Yn(tjjk
r�ds�td��YnXd}n�x�|jjD]�}y|jj||j|j�Wn�tjj	k
r�t
d�}tj||�Yq�tjj
k
�rx}z\xT|jD]J}d}|jjj|�}|�rBt
d	�|}t
d
�}tj||jjj|�|��qWWYdd}~Xq�tjjk
�r�d�s�td��Yq�Xd}q�W|�s�tjjt
d���dS)
z?Execute the command with respect to given arguments *cli_args*.FrQz)No package installed from the repository.zNo package available.z+Only the above marking errors are expected.TzNo match for argument: %sr#z
 (from %s)z%Installed package %s%s not available.NzNothing to do.)rrrr<r|r�r}rr.r�rr
r?r�r�r�rPr�rr(r�r�r�)r$r�r r�r�r�r�r�rrrr~�sD.z2RepoPkgsCommand.ReinstallOldSubCommand.run_on_repoN)r�)r7r8r9r:r&r,r~rrrr�ReinstallOldSubCommand�sr�cs4eZdZdZd	Z�fdd�Zdd�Zdd�Z�ZS)
z#RepoPkgsCommand.ReinstallSubCommandz,Implementation of the reinstall sub-command.r�cs,ttj|�j|�tj|�tj|�f|_dS)zInitialize the command.N)�superrz�ReinstallSubCommandr%r�r��wrapped_commands)r$r)�	__class__rrr%�sz,RepoPkgsCommand.ReinstallSubCommand.__init__cCs6d|jj_x&|jD]}|j|_|j|_|j�qWdS)NT)rr]r`r�r<r}r,)r$�commandrrrr,�s

z-RepoPkgsCommand.ReinstallSubCommand.configurecCs\t|j|j�xH|jD].}y|j�Wntjjk
r@wYqXPqWtjjtd���dS)z?Execute the command with respect to given arguments *cli_args*.z!No packages marked for reinstall.N)	rrrr�r~rr.r�r)r$r�rrrr~sz/RepoPkgsCommand.ReinstallSubCommand.run_on_repo)r�)	r7r8r9r:r&r%r,r~�
__classcell__rr)r�rr��s
r�c@s,eZdZdZd
Zdd�Zdd�Zdd�Zd	S)z,RepoPkgsCommand.RemoveOrDistroSyncSubCommandz8Implementation of the remove-or-distro-sync sub-command.�remove-or-distro-synccCs$|jj}d|_d|_d|_d|_dS)NT)rr]r`r^r�r�)r$r]rrrr,s
z6RepoPkgsCommand.RemoveOrDistroSyncSubCommand.configurec	s�|jjjj��tjj|�}|j|jjj�}|jjj���fdd�|j	�D�}|s`tj
jd|��|j�}|jjj
j}xD|D]<}|j|j|jd�r�|jjjj|�qz|jjjj||d�qzWdS)z;Synchronize a package with another repository or remove it.csg|]}�j|��kr|�qSr)r)�.0r�)r�r}rr�
<listcomp>#szIRepoPkgsCommand.RemoveOrDistroSyncSubCommand._replace.<locals>.<listcomp>zno package matched)�name�arch)�
clean_depsN)rrZsackZdisable_repor�subjectZSubjectZget_best_queryr�rBr.r�rArZclean_requirements_on_remove�filterr�r�Z_goalZdistupgradeZerase)	r$r�r}r�ZmatchesrBrAr��packager)r�r}r�_replaces

z5RepoPkgsCommand.RemoveOrDistroSyncSubCommand._replacecCs�t|j|j�d}|jjs^y|jd|j�Wn*tjj	k
rVt
d�}tj|�Yq�Xd}nVxT|jjD]H}y|j||j�Wn,tjj	k
r�t
d�}tj||�YqhXd}qhW|s�tjj
t
d���dS)z?Execute the command with respect to given arguments *cli_args*.FrQz)No package installed from the repository.TzNo match for argument: %szNothing to do.N)rrrr<r|r�r}rr.r�rr
r?r�)r$r�r r�rrrr~0s$z8RepoPkgsCommand.RemoveOrDistroSyncSubCommand.run_on_repoN)r�)r7r8r9r:r&r,r�r~rrrr�RemoveOrDistroSyncSubCommands
r�c@s$eZdZdZdZdd�Zdd�ZdS)	z+RepoPkgsCommand.RemoveOrReinstallSubCommandz6Implementation of the remove-or-reinstall sub-command.�remove-or-reinstallcCs$|jj}d|_d|_d|_d|_dS)NT)rr]r^r`r�r�)r$r]rrrr,Rs
z5RepoPkgsCommand.RemoveOrReinstallSubCommand.configurec
Cs*t|j|j�d}|jjs�y|jjd|j|jdd�WnLtjj	k
r`t
d�}tj|�Yn(tjj
k
r�ds~td��YnXd}n�x�|jjD]x}y|jj||j|jdd�WnRtjj	k
r�t
d�}tj||�Yq�tjj
k
�rd�std��Yq�Xd}q�W|�s&tjjt
d���d	S)
z?Execute the command with respect to given arguments *cli_args*.FrQT)Zold_reponameZnew_reponame_neqZ	remove_naz)No package installed from the repository.z)Only the above marking error is expected.zNo match for argument: %szNothing to do.N)rrrr<r|r�r}rr.r�rr
r?r�r�r�)r$r�r r�rrrr~Ys4z7RepoPkgsCommand.RemoveOrReinstallSubCommand.run_on_repoN)r�)r7r8r9r:r&r,r~rrrr�RemoveOrReinstallSubCommandMsr�c@s$eZdZdZdZdd�Zdd�ZdS)	z RepoPkgsCommand.RemoveSubCommandz)Implementation of the remove sub-command.�removecCs*|jj}d|_d|_d|_d|_d|_dS)NTF)rr]r^Z
allow_erasingr`r�r�)r$r]rrrr,�sz*RepoPkgsCommand.RemoveSubCommand.configurecCs�d}|jjsRy|jjd|j�Wn*tjjk
rJtd�}t	j
|�Yq�Xd}n`x^|jjD]R}y|jj||j�Wn4tjjk
r�}zt	j
t|��WYdd}~Xq\Xd}q\W|s�t	jtd��dS)z?Execute the command with respect to given arguments *cli_args*.FrQz)No package installed from the repository.TNzNo packages marked for removal.)
r<r|rr�r}rr.r�rr
r?�strZwarning)r$r�r r�r�rrrr~�s  z,RepoPkgsCommand.RemoveSubCommand.run_on_repoN)r�)r7r8r9r:r&r,r~rrrr�RemoveSubCommand~sr�c@s$eZdZdZd	Zdd�Zdd�ZdS)
z!RepoPkgsCommand.UpgradeSubCommandz*Implementation of the upgrade sub-command.�upgrade�
upgrade-tocCs$|jj}d|_d|_d|_d|_dS)NT)rr]r^r`r�r�)r$r]rrrr,�s
z+RepoPkgsCommand.UpgradeSubCommand.configurecCs�t|j|j�d}|jjs.|jj|j�d}nTxR|jjD]F}y|jj||j�Wn(tj	j
k
rxtjt
d�|�Yq8Xd}q8W|s�tj	jt
d���dS)z?Execute the command with respect to given arguments *cli_args*.FTzNo match for argument: %szNo packages marked for upgrade.N)rrrr<r|Zupgrade_allr}r�rr.r�r
r?rr�)r$r�r�rrrr~�sz-RepoPkgsCommand.UpgradeSubCommand.run_on_repoN)r�r�)r7r8r9r:r&r,r~rrrr�UpgradeSubCommand�sr��repository-packages�	repo-pkgs�
repo-packages�repository-pkgsz7run commands on top of all packages in given repositorycs>tt|�j���fdd�|jD�}d|_dd�|D�|_dS)zInitialize the command.c3s|]}|��VqdS)Nr)r��subcmd)rrr�	<genexpr>�sz+RepoPkgsCommand.__init__.<locals>.<genexpr>NcSsi|]}|jD]
}||�qqSr)r&)r�r��aliasrrr�
<dictcomp>�sz,RepoPkgsCommand.__init__.<locals>.<dictcomp>)r�rzr%�SUBCMDSr��_subcmd_name2obj)r$rZsubcmd_objs)r�)rrr%�s
zRepoPkgsCommand.__init__c	Cs`|j�}|jdddddtd�d�|jddddtd	�d
�|jddddtd
�d
�|jddddtd�d
�|jddddtd�d
�|jddddtd�d
�|jddddtd�d
�|jddddtd�d
�|jddtjtd�td�d�d d!�|jD�}d"d!�|jD�}|jd#dd$|d%j|�d&�d}|ddddd'ddh}|jd(d)td*�||tjtd+�d,�dS)-Nz--allr�rJr@zshow all packages (default))rKrLrMrNrOz--availablerAzshow only available packages)rKrLrMrOz--installedrBzshow only installed packagesz--extrasrCzshow only extras packagesz	--updatesrEzshow only upgrades packagesz
--upgradesz--autoremoverFzshow only autoremove packagesz--recentrGz#show only recently changed packagesr}�ZREPOIDz
Repository ID)rSrLrTrOcSsg|]}|jd�qS)r)r&)r�r�rrrr��sz1RepoPkgsCommand.set_argparser.<locals>.<listcomp>cSsg|]}|jD]}|�qqSr)r&)r�r�r�rrrr��sr�Z
SUBCOMMANDz, )rSrTrUrOrHr|rQrRzPackage specification)rSrTrUrNrLrO)rVrWrrZ_RepoCallbackEnabler�rrZ)r$r)r\Zsubcommand_choicesZsubcommand_choices_allrYrXrrrr*�sP
zRepoPkgsCommand.set_argparsercCs�y|j|jjd|_Wn>tjjtfk
rV}z|jjj�tjj�WYdd}~XnX|j|j_|jj	d|j_	|jj
�dS)z8Verify whether the command can run with given arguments.rN)r�r<r�rrr�KeyError�	optparserZprint_usager}r,)r$r�rrrr,s
zRepoPkgsCommand.configurecCs|jj�dS)z>Execute the command with respect to given arguments *extcmds*.N)r�r~)r$rrrr4szRepoPkgsCommand.run)r�r�r�r�)r7r8r9r:r"rr�r�r�r�r�r�r�r�r�r�r�r&rr;r%r*r,r4r�rr)r�rrz s0)79>1(#+rzc@s0eZdZdZd	Zed�Zedd��Zdd�Z	dS)
�HelpCommandzRA class containing methods needed by the cli to execute the
    help command.
    rOzdisplay a helpful usage messagecCs*|jddtd�td�jtjjd�d�dS)N�cmd�?ZCOMMANDz{prog} command to get help for)r)rSrTrO)rWrrrr
r)r)rrrr*szHelpCommand.set_argparsercCsN|jjs|jj|jjkr(|jjj�n"|jj|jj}|jjj||��dS)N)r<r�rZcli_commandsr�Z
print_help)r$r�rrrr4$s

zHelpCommand.runN)rO)
r7r8r9r:r&rr;ror*r4rrrrr�s
r�)r:Z
__future__rrZdnf.cli.option_parserrZdnf.i18nrZdnf.clirZdnf.exceptionsZ
dnf.pycompZdnf.utilZloggingrZ	getLoggerr
r/r0rrr!�objectr"r>rerhrprzr�rrrr�<module>s:
9?$y


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
13 Mar 2025 8.41 AM
root / root
0755
__init__.cpython-36.opt-1.pyc
25.776 KB
11 Mar 2025 9.48 AM
root / root
0644
__init__.cpython-36.pyc
26.014 KB
11 Mar 2025 9.48 AM
root / root
0644
alias.cpython-36.opt-1.pyc
5.205 KB
11 Mar 2025 9.48 AM
root / root
0644
alias.cpython-36.pyc
5.205 KB
11 Mar 2025 9.48 AM
root / root
0644
autoremove.cpython-36.opt-1.pyc
1.869 KB
11 Mar 2025 9.48 AM
root / root
0644
autoremove.cpython-36.pyc
1.869 KB
11 Mar 2025 9.48 AM
root / root
0644
check.cpython-36.opt-1.pyc
3.636 KB
11 Mar 2025 9.48 AM
root / root
0644
check.cpython-36.pyc
3.636 KB
11 Mar 2025 9.48 AM
root / root
0644
clean.cpython-36.opt-1.pyc
4.009 KB
11 Mar 2025 9.48 AM
root / root
0644
clean.cpython-36.pyc
4.009 KB
11 Mar 2025 9.48 AM
root / root
0644
deplist.cpython-36.opt-1.pyc
0.868 KB
11 Mar 2025 9.48 AM
root / root
0644
deplist.cpython-36.pyc
0.868 KB
11 Mar 2025 9.48 AM
root / root
0644
distrosync.cpython-36.opt-1.pyc
1.406 KB
11 Mar 2025 9.48 AM
root / root
0644
distrosync.cpython-36.pyc
1.406 KB
11 Mar 2025 9.48 AM
root / root
0644
downgrade.cpython-36.opt-1.pyc
1.761 KB
11 Mar 2025 9.48 AM
root / root
0644
downgrade.cpython-36.pyc
1.761 KB
11 Mar 2025 9.48 AM
root / root
0644
group.cpython-36.opt-1.pyc
10.138 KB
11 Mar 2025 9.48 AM
root / root
0644
group.cpython-36.pyc
10.232 KB
11 Mar 2025 9.48 AM
root / root
0644
history.cpython-36.opt-1.pyc
11.221 KB
11 Mar 2025 9.48 AM
root / root
0644
history.cpython-36.pyc
11.221 KB
11 Mar 2025 9.48 AM
root / root
0644
install.cpython-36.opt-1.pyc
5.94 KB
11 Mar 2025 9.48 AM
root / root
0644
install.cpython-36.pyc
5.94 KB
11 Mar 2025 9.48 AM
root / root
0644
makecache.cpython-36.opt-1.pyc
1.233 KB
11 Mar 2025 9.48 AM
root / root
0644
makecache.cpython-36.pyc
1.233 KB
11 Mar 2025 9.48 AM
root / root
0644
mark.cpython-36.opt-1.pyc
2.849 KB
11 Mar 2025 9.48 AM
root / root
0644
mark.cpython-36.pyc
2.849 KB
11 Mar 2025 9.48 AM
root / root
0644
module.cpython-36.opt-1.pyc
14.613 KB
11 Mar 2025 9.48 AM
root / root
0644
module.cpython-36.pyc
14.613 KB
11 Mar 2025 9.48 AM
root / root
0644
reinstall.cpython-36.opt-1.pyc
2.896 KB
11 Mar 2025 9.48 AM
root / root
0644
reinstall.cpython-36.pyc
2.969 KB
11 Mar 2025 9.48 AM
root / root
0644
remove.cpython-36.opt-1.pyc
3.829 KB
11 Mar 2025 9.48 AM
root / root
0644
remove.cpython-36.pyc
3.829 KB
11 Mar 2025 9.48 AM
root / root
0644
repolist.cpython-36.opt-1.pyc
7.252 KB
11 Mar 2025 9.48 AM
root / root
0644
repolist.cpython-36.pyc
7.252 KB
11 Mar 2025 9.48 AM
root / root
0644
repoquery.cpython-36.opt-1.pyc
21.774 KB
11 Mar 2025 9.48 AM
root / root
0644
repoquery.cpython-36.pyc
21.774 KB
11 Mar 2025 9.48 AM
root / root
0644
search.cpython-36.opt-1.pyc
4.291 KB
11 Mar 2025 9.48 AM
root / root
0644
search.cpython-36.pyc
4.291 KB
11 Mar 2025 9.48 AM
root / root
0644
shell.cpython-36.opt-1.pyc
7.687 KB
11 Mar 2025 9.48 AM
root / root
0644
shell.cpython-36.pyc
7.687 KB
11 Mar 2025 9.48 AM
root / root
0644
swap.cpython-36.opt-1.pyc
1.843 KB
11 Mar 2025 9.48 AM
root / root
0644
swap.cpython-36.pyc
1.843 KB
11 Mar 2025 9.48 AM
root / root
0644
updateinfo.cpython-36.opt-1.pyc
13.579 KB
11 Mar 2025 9.48 AM
root / root
0644
updateinfo.cpython-36.pyc
13.579 KB
11 Mar 2025 9.48 AM
root / root
0644
upgrade.cpython-36.opt-1.pyc
3.595 KB
11 Mar 2025 9.48 AM
root / root
0644
upgrade.cpython-36.pyc
3.595 KB
11 Mar 2025 9.48 AM
root / root
0644
upgrademinimal.cpython-36.opt-1.pyc
1.077 KB
11 Mar 2025 9.48 AM
root / root
0644
upgrademinimal.cpython-36.pyc
1.077 KB
11 Mar 2025 9.48 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF