| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.12/site-packages/dnf/cli/commands/__pycache__/ |
Upload File : |
�
�(f� � �� � d dl mZ d dl mZ d dl mZ d dlZd dlmZ d dlmZ d dl m
Z
mZmZ d dl Z
d dlZ
d dlZ
d dlZd dlZ ej$ d� Z G d � d
ej( � Zy)� )�absolute_import)�print_function)�unicode_literalsN)�commands)�OptionParser)�ucd�_�C_�dnfc �R � e Zd ZdZdZ ed� Zed� � Zd� Z d� Z
d� Zd� Zd � Z
y
)�
SearchCommandzTA class containing methods needed by the cli to execute the
search command.
)�search�sez+search package details for the given stringc � � | j ddt d� �� | j ddt d� dgd t j t d � �
� y )Nz--all�
store_truez'search also package description and URL)�action�help�query_string�+�KEYWORD�allzKeyword to search for)�nargs�metavar�choices�defaultr r )�add_argumentr r �PkgNarrowCallback)�parsers �</usr/lib/python3.12/site-packages/dnf/cli/commands/search.py�
set_argparserzSearchCommand.set_argparser0 sY � ����G�L�!"�#L�!M� � O����N�#�q��|�%*�G�T�#/�#A�#A�!"�#:�!;� � =� c �B � ��� t j dt dd� fdt dd� fdt dd� fdt d � ff� ��fd
���� fd�}t j
j
� }|D ]( }� j |d|� � j |d|� �* � j j r.|D ]( }� j |d|� � j |d|� �* nLt |� }t |j � � }|D ]# }t |j |� � |k7 s�!||= �% d}d} d
}
d
}d}� j j j sP� j j"