관리-도구
편집 파일: main_parser.cpython-38.pyc
U &?�f� � @ s� d Z ddlZddlZddlZddlmZmZmZ ddlm Z ddl mZ ddlm Z mZ ddlmZmZ ddlmZ dd lmZmZ d dgZe d�d d �Zeee d�dd�Zee eeee f d�dd�ZdS )z=A single place for constructing and exposing the main parser � N)�List�Optional�Tuple)�get_runnable_pip)� cmdoptions)�ConfigOptionParser�UpdatingDefaultsHelpFormatter)� commands_dict�get_similar_commands)�CommandError)�get_pip_version�get_prog�create_main_parser� parse_command)�returnc C sl t ddt� dt� d�} | �� t� | _t�tj| �}| � |� d| _ dgdd� t�� D � }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 S s"