§ œReŽ ãó~—ddlZddlZddlmZddlmZddlmZddlm Z ddl m Z dZ dd d d œZ Gd „d e¦«ZdS)éN)ÚValues)ÚList)ÚCommand)ÚSUCCESS)Úget_progzD # pip {shell} completion start{script}# pip {shell} completion end a _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} aM 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} au 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} )ÚbashÚzshÚfishcó>—eZdZdZdZd d„Zdedeede fd„Z dS) ÚCompletionCommandz3A helper command to be used for command completion.TÚreturnNcó—|j dddddd¬¦«|j dd dd dd ¬¦«|j d d dddd¬¦«|j d|j¦«dS)Nz--bashz-bÚ store_constrÚshellzEmit completion code for bash)ÚactionÚconstÚdestÚhelpz--zshz-zr zEmit completion code for zshz--fishz-fr zEmit completion code for fishr)Úcmd_optsÚ add_optionÚparserÚinsert_option_group)Úselfs ú“/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/commands/completion.pyÚ add_optionszCompletionCommand.add_options6s»€Ø Œ × Ò Ø Ø Ø ØØØ0ð !ñ ô ð ð Œ × Ò Ø Ø Ø ØØØ/ð !ñ ô ð ð Œ × Ò Ø Ø Ø ØØØ0ð !ñ ô ð ð Œ ×'Ò'¨¨4¬=Ñ9Ô9Ð9Ð9Ð9óÚoptionsÚargscó—t ¦«}d„t|¦«D¦«}|j|vr‡t jt |jd¦« t¦«¬¦«¦«}tt ||j¬¦«¦«tStj  d d |¦«¦«¦«tS)z-Prints the completion code of the given shellcó—g|]}d|z‘ŒS)z--©)Ú.0rs rú z)CompletionCommand.run..Us€ÐBÐBÐB¨%˜ ™ÐBÐBÐBrÚ)Úprog)ÚscriptrzERROR: You must pass {} z or )ÚCOMPLETION_SCRIPTSÚkeysÚsortedrÚtextwrapÚdedentÚgetÚformatrÚprintÚBASE_COMPLETIONrÚsysÚstderrÚwriteÚjoin)rrrÚshellsÚ shell_optionsr&s rÚrunzCompletionCommand.runRsÜ€å#×(Ò(Ñ*Ô*ˆØBÐBµ6¸&±>´>ÐBÑBÔBˆ Ø Œ=˜FÐ "Ð "Ý”_Ý"×&Ò& w¤}°bÑ9Ô9×@Ò@ÅhÁjÄjÐ@ÑQÔQñôˆFõ •/×(Ò(°¸g¼mÐ(ÑLÔLÑ MÔ MÐ M݈Nå ŒJ× Ò Ø+×2Ò2°6·;²;¸}Ñ3MÔ3MÑNÔNñ ô ð õˆNr)r N) Ú__name__Ú __module__Ú __qualname__Ú__doc__Úignore_require_venvrrrÚstrÚintr6r!rrr r 1sa€€€€€Ø=Ð=àÐð:ð:ð:ð:ð8˜6ð¨¨c¬ð°sððððððrr )r0r*ÚoptparserÚtypingrÚpip._internal.cli.base_commandrÚpip._internal.cli.status_codesrÚpip._internal.utils.miscrr/r'r r!rrúrCsÉðØ € € € Ø€€€ØÐÐÐÐÐØÐÐÐÐÐà2Ð2Ð2Ð2Ð2Ð2Ø2Ð2Ð2Ð2Ð2Ð2Ø-Ð-Ð-Ð-Ð-Ð-ð€ð  ð ð ð+ ð ÐðF/ð/ð/ð/ð/˜ñ/ô/ð/ð/ð/r