관리-도구
편집 파일: main_parser.cpython-311.pyc
� �Re6 � � � d Z ddlZddlZddlmZmZ ddlmZ ddlm Z m Z ddlmZm Z ddlmZ ddlmZmZ d d gZde fd�Zd ee deeee f fd�ZdS )z=A single place for constructing and exposing the main parser � N)�List�Tuple)� cmdoptions)�ConfigOptionParser�UpdatingDefaultsHelpFormatter)� commands_dict�get_similar_commands)�CommandError)�get_pip_version�get_prog�create_main_parser� parse_command�returnc � � t ddt � � dt � � �� � } | � � � t � � | _ t j t j | � � }| � |� � d| _ dgd� t j � � D � � z }d� |� � | _ | S ) z1Creates and returns the main parser for pip's CLIz %prog <command> [options]F�global)�usage�add_help_option� formatter�name�progT� c �. � g | ]\ }}|d �d|j � ���S )�27� )�summary)�.0r �command_infos ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/cli/main_parser.py� <listcomp>z&create_main_parser.<locals>.<listcomp>'