ok

Mini Shell

Direktori : /proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/
Upload File :
Current File : //proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/main_parser.pyo

�
Bu�_c@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 ((sN/opt/alt/python36/lib/python3.6/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((sN/opt/alt/python36/lib/python3.6/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(((sN/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/cli/main_parser.pyt<module>s	#

Zerion Mini Shell 1.0