2bi" SrSSKrSSKrSSKrSSKJr SSKJrJrJ r J r SSK J r SSK JrJr SSKJr SS jrS \ \S \S \\S\ \4S jrS\S\S\\4Sjrg)zBLogic that powers autocompletion installed by ``pip completion``. N)chain)AnyIterableListOptional)create_main_parser) commands_dictcreate_command)get_default_environmentreturnc  S[R;ag[RSR5SSn[[RS5nXS- n[ 5n[ [5n/nSnUH nXt;dM Un O UGbUS:Xa[R"S5 URS5(+=(a US ;nU(a[5n UR5n U RS S 9V s/sHFn U RRU 5(dM%U RUSS;dM:U RPMH n n U (a*U Hn [U 5 M [R"S5 URS5(+=(a US :Hn U (a4[!US 5Hn[U5 M [R"S5 [#U5nUR$R&H\nUR([*R,:wdM#UUR.UR0-Vs/sHnUUR24PM sn- nM^ USUS- Vs/sHnURS5SPM nnUVVs/sHunnUU;dMUU4PM nnnUVVs/sH"unnURU5(dMUU4PM$ nnn[5UUUR$R&5nU(a[!UU5nUVs/sHoS4PM nnUH.nUSnUS(aUSSSS:XaUS- n[U5 M0 GOUR6Vs/sHnUR8PM nnUR;UR85 [<R>"U5nURS5(aFUH?nUR([*R,:wdM#UUR.UR0-- nMA O([5XU5nU(a[ [!UU55n[SRAUVs/sHnURU5(dMUPM sn55 [R"S5 g![a SnGN>f=fs sn fs snfs snfs snnfs snnfs snfs snfs snf)z:Entry Point for completion of main and subcommand options.PIP_AUTO_COMPLETEN COMP_WORDS COMP_CWORDhelp-)show uninstallT) local_onlyinstallpath=rz-- )!osenvironsplitint IndexErrorrlistr sysexit startswithr loweriter_installed_distributionscanonical_nameprintauto_complete_pathsr parseroption_list_allroptparse SUPPRESS_HELP _long_opts _short_optsnargsget_path_completion_type option_groups option_listappendr from_iterablejoin)cwordscwordcurrentr+ subcommandsoptionssubcommand_namewordshould_list_installedenvlcdist installedshould_list_installablesr subcommandoptopt_strx prev_optsvkcompletion_typepathsoption opt_labelioptsflattened_optss ڒ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_internal/cli/autocompletion.py autocompleterTs@"**, ZZ % + + -ab 1F  <( )E# !F}%KG&*O  "O  " f $ HHQK$+$6$6s$; ;! T A  !)+CB <<<MMD&&11"5$''vabz9$##M %D$K& ""3' ' HOy,H ! $+GV<d = HHQK#O4 $$44Cxx81118;8X8XWWcii(8X5/5Q.CD.CQWWS\!_.C D(/Ffq!1I3E6Aq6F&-Ggdag1F6Aq6gG2      - -  'AE-23UTayUG3Fq IayVAYr]d2S )  (.';';<';! ';< F&&',,T2   c " "%88x5553>>COO#CCK& 7vnUO"#6w#PQ  chh;H;a!,,w2G;HIJHHQK{ 40 EFG4=Is`R $R )R >R >R%)R* R/R//R5R5 R;&SS %S RRr8r9rQcUS:dXS- RS5(dgUHnUR[R:XaM#[ U5R S5HsnXS- R S5SU:XdM"UR (a2[SUR R S555(dMeUR s s $ M g)a8Get the type of path completion (``file``, ``dir``, ``path`` or None) :param cwords: same as the environmental variable ``COMP_WORDS`` :param cword: same as the environmental variable ``COMP_CWORD`` :param opts: The available options to check :return: path completion type (``file``, ``dir``, ``path`` or None) rrN/rrc3*# UH oS;v M g7f))rfiledirN).0rHs rS +get_path_completion_type..s*:PQ00:Ps)r%rr-r.strrmetavarany)r8r9rQrFos rSr2r2xs qyqy)44S99 88x-- - S$Aai &&s+A.!3{{c*:=++:K:KC:P*'';;& % r:rLc#^# [RRU5unm[RRU5n[R"U[R 5(dg[RR T5mU4Sj[R"U55nUHn[RRX55n[RR [RRX%55nUS:wa*[RRU5(aUv M[RRU5(dM[RRUS5v M g7f)a\If ``completion_type`` is ``file`` or ``path``, list all regular files and directories starting with ``current``; otherwise only list directories starting with ``current``. :param current: The word to be completed :param completion_type: path completion type(``file``, ``path`` or ``dir``) :return: A generator of regular files and/or directories Nc3># UH<n[RRU5RT5(dM8Uv M> g7f)N)rrnormcaser%)r[rHfilenames rSr\&auto_complete_paths..s3+arww/?/?/B/M/Mh/W+s 7A ArYr) rrrabspathaccessR_OKrelistdirr7isfileisdir) r:rL directory current_path file_listfrF comp_filerfs @rSr*r*s''--0Ix77??9-L 99\277 + +ww)H::l+Iggll<+GG$$RWW\\)%?@  e #s(;(;O WW]]3  '',,y"- -s EF %'F )r N)__doc__r-rr# itertoolsrtypingrrrrpip._internal.cli.main_parserrpip._internal.commandsr r pip._internal.metadatar rTr^r r2r*rZrbrSrys} 00<@:fR I!)1# c]0..s.x}.rb