Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/click/__pycache__/core.cpython-39.pyc
Ðазад
a i�h<� � @ sT d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ d dl m Z d dl mZ d dlm Z d dlmZ d dlmZ d dlmZ d d lmZ d dlmZ d dlmZ d d lmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dl m!Z! d dl m"Z" d dl#m$Z$ d dl#m%Z% d dl#m&Z& d dl'm(Z( d dl'm)Z) d dl'm*Z* d dl+m,Z, d dl+m-Z- d dl+m.Z. d dl+m/Z/ d d l+m0Z0 d d!l+m1Z1 ej2�r�d dl3Z4d d"l5m6Z6 d d#l7m8Z8 ej9d$ej:d%ej;f d&�Z<e�9d'�Z=d(e>ej?ej@e>d)f d*�d+d,�ZAdOd.e>d)eBdd/�d0d1�ZCejDe= eEejFej@e=d%f d2�d3d4�ZGe dPd(ejHd5 ej?d d6�d7d8��ZIejJd5 ejJd5 ejFd5 d9�d:d;�ZKG d<d=� d=e jL�ZMG d>d(� d(�ZNG d?d@� d@�ZOG dAd)� d)eO�ZPG dBd.� d.eP�ZQG dCdD� dDeQ�ZRG dEdF� dFeQ�ZSej;ej?ej; dG�dHdI�ZTG dJd5� d5�ZUG dKdL� dLeU�ZVG dMdN� dNeU�ZWdS )Q� N)�abc)�contextmanager)� ExitStack)�update_wrapper)�gettext)�ngettext)�repeat)� TracebackType� )�types��Abort)�BadParameter)�ClickException��Exit)�MissingParameter�� UsageError)� HelpFormatter)�join_options)�pop_context)�push_context��_flag_needs_value)�OptionParser)� split_opt)�confirm)�prompt)�style)�_detect_program_name)�_expand_args)�echo)�make_default_short_help)�make_str)�PacifyFlushWrapper�� HelpOption��CompletionItem�F.)�bound�V�Context�Command��ctx� incomplete�returnc c sP t �t| j�}|�| �D ]2}|�|�r|�| |�}|dur|js||fV qdS )z�List all the subcommands of a group that start with the incomplete value and aren't hidden. :param ctx: Invocation context for the group. :param incomplete: Value being completed. May be empty. N)�t�cast�MultiCommand�command� list_commands� startswith�get_command�hidden)r0 r1 �multi�namer6 � r= �z/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/click/core.py�_complete_visible_commands2 s r? Fr5 )�base_command�cmd_name�cmd�registerr2 c C sh | j rt|t�sd S |rd}nd}t|� d| j�d|�d|�dt|�j� dt| �j� d| j�d ���d S ) NzdIt is not possible to add multi commands as children to another multi command that is in chain mode.zdFound a multi command as subcommand to a multi command that is in chain mode. This is not supported.z . Command z is set to chain and zA was added as a subcommand but it in itself is a multi command. (z is a z within a chained z named z).)�chain� isinstancer5 �RuntimeErrorr<