ok

Mini Shell

Direktori : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/completion.pyo

�
x�_c@@s�ddlmZddlZddlZddlmZddlmZddlm	Z	ddl
mZer�ddlm
Z
ddlmZnd	Zid
d6dd
6dd6Zdefd��YZdS(i(tabsolute_importN(tCommand(tSUCCESS(tget_prog(tMYPY_CHECK_RUNNING(tList(tValuessD
# pip {shell} completion start{script}# pip {shell} completion end
s
        _pip_completion()
        {{
            COMPREPLY=( $( COMP_WORDS="${{COMP_WORDS[*]}}" \
                           COMP_CWORD=$COMP_CWORD \
                           PIP_AUTO_COMPLETE=1 $1 2>/dev/null ) )
        }}
        complete -o default -F _pip_completion {prog}
    tbashsM
        function _pip_completion {{
          local words cword
          read -Ac words
          read -cn cword
          reply=( $( COMP_WORDS="$words[*]" \
                     COMP_CWORD=$(( cword-1 )) \
                     PIP_AUTO_COMPLETE=1 $words[1] 2>/dev/null ))
        }}
        compctl -K _pip_completion {prog}
    tzshsu
        function __fish_complete_pip
            set -lx COMP_WORDS (commandline -o) ""
            set -lx COMP_CWORD ( \
                math (contains -i -- (commandline -t) $COMP_WORDS)-1 \
            )
            set -lx PIP_AUTO_COMPLETE 1
            string split \  -- (eval $COMP_WORDS[1])
        end
        complete -fa "(__fish_complete_pip)" -c {prog}
    tfishtCompletionCommandcB@s&eZdZeZd�Zd�ZRS(s3A helper command to be used for command completion.cC@s�|jjddddddddd	d
�|jjdddddd
ddd	d�|jjddddddddd	d�|jjd|j�dS(Ns--bashs-btactiontstore_consttconstRtdesttshellthelpsEmit completion code for bashs--zshs-zRsEmit completion code for zshs--fishs-fR	sEmit completion code for fishi(tcmd_optst
add_optiontparsertinsert_option_group(tself((sR/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/completion.pytadd_options;s&						cC@s�tj�}gt|�D]}d|^q}|j|kr�tjtj|jd�jdt���}t	jd|d|j�GHt
Stjj
djdj|���t
SdS(	s-Prints the completion code of the given shells--ttprogtscriptRsERROR: You must pass {}
s or N(tCOMPLETION_SCRIPTStkeystsortedRttextwraptdedenttgettformatRtBASE_COMPLETIONRtsyststderrtwritetjoin(RtoptionstargstshellsRt
shell_optionsR((sR/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/completion.pytrunRs#	(t__name__t
__module__t__doc__tTruetignore_require_venvRR*(((sR/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/completion.pyR
6s	(t
__future__RR"Rtpip._internal.cli.base_commandRtpip._internal.cli.status_codesRtpip._internal.utils.miscRtpip._internal.utils.typingRttypingRtoptparseRR!RR
(((sR/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/commands/completion.pyt<module>s	


Zerion Mini Shell 1.0