HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //opt/alt/python34/lib/python3.4/site-packages/pip/commands/__pycache__/completion.cpython-34.pyc
�
v�Re.�@sPddlZddlmZdZidd6dd6ZGdd	�d	e�ZdS)
�N)�CommandzJ
# pip %(shell)s completion start%(script)s# pip %(shell)s completion end
z�
_pip_completion()
{
    COMPREPLY=( $( COMP_WORDS="${COMP_WORDS[*]}" \
                   COMP_CWORD=$COMP_CWORD \
                   PIP_AUTO_COMPLETE=1 $1 ) )
}
complete -o default -F _pip_completion pip
�bashz�
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] ) )
}
compctl -K _pip_completion pip
�zshcsFeZdZdZdZdZdZ�fdd�Zdd�Z�S)	�CompletionCommandz3A helper command to be used for command completion.�
completionz2A helper command to be used for command completionTcsstt|�j||�|jjddddddddd	d
�|jjdddddd
ddd	d�dS)Nz--bashz-b�action�store_const�constr�dest�shell�helpzEmit completion code for bashz--zshz-zrzEmit completion code for zsh)�superr�__init__�parser�
add_option)�self�args�kw)�	__class__��2/tmp/pip-b5g1_nk_-build/pip/commands/completion.pyr$s				zCompletionCommand.__init__cCs�tj�}dd�t|�D�}|j|krktj|jd�}tti|d6|jd6�ntjj	ddj
|��dS)	z-Prints the completion code of the given shellcSsg|]}d|�qS)z--r)�.0rrrr�
<listcomp>6s	z)CompletionCommand.run.<locals>.<listcomp>��scriptrzERROR: You must pass %s
z or N)�COMPLETION_SCRIPTS�keys�sortedr�get�print�BASE_COMPLETION�sys�stderr�write�join)r�optionsr�shells�
shell_optionsrrrr�run3s"zCompletionCommand.run)	�__name__�
__module__�__qualname__�__doc__�name�summary�hiddenrr(rr)rrrsr)r!�pip.basecommandrr rrrrrr�<module>s