Your IP : 3.137.177.204


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/main_parser.pyc

�
�Rec@s�dZddlZddlZddlmZddlmZmZddlm	Z	m
Z
ddlmZddl
mZmZddlmZer�dd	lmZmZnd
dgZd�Zd
�ZdS(s=A single place for constructing and exposing the main parser
i����N(t
cmdoptions(tConfigOptionParsertUpdatingDefaultsHelpFormatter(t
commands_dicttget_similar_commands(tCommandError(tget_pip_versiontget_prog(tMYPY_CHECK_RUNNING(tTupletListtcreate_main_parsert
parse_commandcCs�idd6td6t�d6dd6t�d6}t|�}|j�t�|_tjtj	|�}|j
|�t|_dggt
j�D]\}}d	jt��^q�}d
j|�|_|S(s6Creates and returns the main parser for pip's CLI
    s
%prog <command> [options]tusagetadd_help_optiont	formattertglobaltnametprogts {name:27} {command_info.summary}s
(tFalseRRRtdisable_interspersed_argsRtversionRtmake_option_groupt
general_grouptadd_option_grouptTruetmainRtitemstformattlocalstjointdescription(t	parser_kwtparsertgen_optsRtcommand_infoR ((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/main_parser.pyRs"



	/cCs#t�}|j|�\}}|jrZtjj|j�tjjtj�tj�n|s�|ddkr�t	|�dkr�|j
�tj�n|d}|tkrt|�}dj
|�g}|r�|jdj
|��ntdj|���n|}|j|�||fS(Nithelpisunknown command "{}"smaybe you meant "{}"s - (Rt
parse_argsRtsyststdouttwritetostlineseptexittlent
print_helpRRRtappendRRtremove(targsR"tgeneral_optionst	args_elsetcmd_nametguesstmsgtcmd_args((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/main_parser.pyR;s&			
)



(t__doc__R*R'tpip._internal.cliRtpip._internal.cli.parserRRtpip._internal.commandsRRtpip._internal.exceptionsRtpip._internal.utils.miscRRtpip._internal.utils.typingRttypingR	R
t__all__RR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/main_parser.pyt<module>s	#

?>