grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026ó U§ ßZûŽãóv•SrSSKrSSKrSSKrS/rSr\R \R-S-r"SS5r g)a A generic class to build line-oriented command interpreters. Interpreters constructed with this class obey the following conventions: 1. End of file on input is processed as the command 'EOF'. 2. A command is parsed out of each line by collecting the prefix composed of characters in the identchars member. 3. A command `foo' is dispatched to a method 'do_foo()'; the do_ method is passed a single argument consisting of the remainder of the line. 4. Typing an empty line repeats the last command. (Actually, it calls the method `emptyline', which may be overridden in a subclass.) 5. There is a predefined `help' method. Given an argument `topic', it calls the command `help_topic'. With no arguments, it lists all topics with defined help_ functions, broken into up to three topics; documented commands, miscellaneous help topics, and undocumented commands. 6. The command '?' is a synonym for `help'. The command '!' is a synonym for `shell', if a do_shell method exists. 7. If completion is enabled, completing commands will be done automatically, and completing of commands args is done by calling complete_foo() with arguments text, line, begidx, endidx. text is string we are matching against, all returned matches must begin with it. line is the current input line (lstripped), begidx and endidx are the beginning and end indexes of the text being matched, which could be used to provide different completion depending upon which position the argument is in. The `default' method may be overridden to intercept commands for which there is no do_ method. The `completedefault' method may be overridden to intercept completions for commands that have no complete_ method. The data member `self.ruler' sets the character used to draw separator lines in the help messages. If empty, no ruler line is drawn. It defaults to "=". If the value of `self.intro' is nonempty when the cmdloop method is called, it is printed out on interpreter startup. This value may be overridden via an optional argument to the cmdloop() method. The data members `self.doc_header', `self.misc_header', and `self.undoc_header' set the headers used for the help function's listings of documented functions, miscellaneous topics, and undocumented functions respectively. éNÚCmdz(Cmd) Ú_có¼•\rSrSrSr\r\rSr Sr Sr Sr Sr SrSrS rS rSS jrSS jrS rSrSrSrSrSrSrSrSrSrSrSrSr Sr!Sr"S Sjr#Sr$g)!ré4aèA simple framework for writing line-oriented command interpreters. These are often useful for test harnesses, administrative tools, and prototypes that will later be wrapped in a more sophisticated interface. A Cmd instance or subclass instance is a line-oriented interpreter framework. There is no good reason to instantiate Cmd itself; rather, it's useful as a superclass of an interpreter class you define yourself in order to inherit Cmd's methods and encapsulate action methods. Ú=ÚNz(Documented commands (type help ):zMiscellaneous help topics:zUndocumented commands:z*** No help on %sécóš•UbX lO[RUlUbX0lO[RUl/UlXlg)a˜Instantiate a line-oriented interpreter framework. The optional argument 'completekey' is the readline name of a completion key; it defaults to the Tab key. If completekey is not None and the readline module is available, command completion is done automatically. The optional arguments stdin and stdout specify alternate input and output file objects; if not specified, sys.stdin and sys.stdout are used. N)ÚstdinÚsysÚstdoutÚcmdqueueÚ completekey)Úselfrr r s Ú*/opt/alt/python313/lib64/python3.13/cmd.pyÚ__init__Ú Cmd.__init__Ls=€ð Ñ Ø�J䟙ˆDŒJØ Ñ Ø �KäŸ*™*ˆDŒK؈Œ Ø&Õócó•UR5 UR(ašUR(a‰SSKnUR 5UlUR UR5 URS:Xa$URS:XaSnO SURS3nOURS3nURU5 UbXl UR(a1URR[UR5S -5 SnU(GdUR(aURR!S5nO¥UR(a[#UR$5nO}URRUR$5 URR)5 UR*R5n[-U5(dS nOUR/S 5nUR1U5nUR3U5nUR5XE5nU(dGMUR75 UR(a3UR(a!SSKnUR UR 5 ggg![a GNÇf=f![&a S nN±f=f![a gf=f!UR(aCUR(a1SSKnUR UR 5 f![a ff=fff=f) z®Repeatedly issue a prompt, accept input, parse an initial prefix off the received input, and dispatch to action methods, passing them the remainder of the line as argument. rNÚeditlineÚtabzbind ^I rl_completezbind z rl_completez : completeÚ ÚEOFz )ÚpreloopÚ use_rawinputrÚreadlineÚ get_completerÚ old_completerÚ set_completerÚcompleteÚbackendÚparse_and_bindÚ ImportErrorÚintror ÚwriteÚstrrÚpopÚinputÚpromptÚEOFErrorÚflushr ÚlenÚrstripÚprecmdÚonecmdÚpostcmdÚpostloop)rr$rÚcommand_stringÚstopÚlines rÚcmdloopÚ Cmd.cmdloopbsb€ð � ‰ ŒØ × ×  ×!1×!1ð ÛØ%-×%;Ñ%;Ó%=�Ô"Ø×&Ñ& t§}¡}Ô5Ø×#Ñ# zÓ1Ø×'Ñ'¨5Ó0à)>™à+0°×1AÑ1AÐ0BÀ,Ð)O™à(,×(8Ñ(8Ð'9¸Ð%D�NØ×'Ñ'¨Ô7ð! ØÑ Ø"” Ø�z�zØ— ‘ ×!Ñ!¤# d§j¡j£/°$Ñ"6Ô7؈Dߨ—=—=ØŸ=™=×,Ñ,¨QÓ/‘Dà×(×(ð)Ü#(¨¯©Ó#5™D🠙 ×)Ñ)¨$¯+©+Ô6ØŸ ™ ×)Ñ)Ô+Ø#Ÿz™z×2Ñ2Ó4˜Ü" 4Ÿy™yØ#(™Dà#'§;¡;¨vÓ#6˜DØ—{‘{ 4Ó(�Ø—{‘{ 4Ó(�Ø—|‘| DÓ/�÷'‘dð( �M‰MŒOà× ×  T×%5×%5ðÛ#Ø×*Ñ*¨4×+=Ñ+=Õ>ð&6Ð øô=ó Úð ûô (ó)Ø#(šDð)ûô&#óÙðûð × ×  T×%5×%5ðÛ#Ø×*Ñ*¨4×+=Ñ+=Õ>øÜ"óÙðúð &6Ð ús€´BI6Â=BJ)ÅJÅ&B8J)È!J)ÉJÉ6 JÊJÊ JÊJ)ÊJÊJ)Ê J&Ê%J&Ê)#K?Ë K-Ë,K?Ë- K:Ë7K?Ë9K:Ë:K?có•U$)zwHook method executed just before the command line is interpreted, but after the input prompt is generated and issued. ©©rr4s rr.Ú Cmd.precmdžs €ð ˆ rcó•U$)z?Hook method executed just after a command dispatch is finished.r8)rr3r4s rr0Ú Cmd.postcmd¥s€àˆ rcó•g)z>Hook method executed once when the cmdloop() method is called.Nr8©rs rrÚ Cmd.preloop©s€à rcó•g)zIHook method executed once when the cmdloop() method is about to return. Nr8r>s rr1Ú Cmd.postloop­s€ð rcód•UR5nU(dSSU4$USS:Xa SUSS-nO(USS:Xa[US5(a SUSS-nOSSU4$S[U5p2X#:a0XUR;aUS-o"U:aXUR;aMUSUXSR5pTXEU4$) z¾Parse the line into a command name and a string containing the arguments. Returns a tuple containing (command, args, line). 'command' and 'args' may be None if the line couldn't be parsed. NrÚ?zhelp r Ú!Údo_shellzshell )ÚstripÚhasattrr,Ú identchars)rr4ÚiÚnÚcmdÚargs rÚ parselineÚ Cmd.parseline´sÇ€ð �z‰z‹|ˆÞؘ˜tÐ#Ð #Ø �!‰W˜‹^ؘT ! "˜XÑ%‰DØ �!‰W˜‹^Ü�t˜Z×(Ñ(Ø $ q r (Ñ*‘à˜T 4Ð'Ð'Ø”#�d“)ˆ1Ø‹e˜™ 4§?¡?Ó2¸¸!¹°A�!‹e˜™ 4§?¡?Õ2ؘ˜�8˜T "˜XŸ^™^Ó-ˆSؘˆ~Ðrcó,•URU5up#nU(dUR5$UcURU5$XlUS:XaSUlUS:XaURU5$[ USU-S5nUcURU5$U"U5$)a8Interpret the argument as though it had been typed in response to the prompt. This may be overridden, but should not normally need to be; see the precmd() and postcmd() methods for useful execution hooks. The return value is a flag indicating whether interpretation of commands by the interpreter should stop. NrrÚdo_)rMÚ emptylineÚdefaultÚlastcmdÚgetattr)rr4rKrLÚfuncs rr/Ú Cmd.onecmdÈs“€ðŸ™¨Ó-‰ˆ�$ÞØ—>‘>Ó#Ð #Ø ‰;Ø—<‘< Ó%Ð %ØŒ Ø �5‹=؈DŒLØ �"‹9Ø—<‘< Ó%Ð %ä˜4 ¨¡¨dÓ3ˆD؉|Ø—|‘| DÓ)Ð)Ù˜“9Ð rcó\•UR(aURUR5$g)z’Called when an empty line is entered in response to the prompt. If this method is not overridden, it repeats the last nonempty command entered. N)rSr/r>s rrQÚ Cmd.emptylineâs#€ð �<�<Ø—;‘;˜tŸ|™|Ó,Ð ,ð rcó@•URRSU-5 g)z�Called on an input line when the command prefix is not recognized. If this method is not overridden, it prints an error message and returns. z*** Unknown syntax: %s N)r r%r9s rrRÚ Cmd.defaultìs€ð � ‰ ×ÑÐ4°TÑ9Õ:rcó•/$)z‹Method called to complete an input line when no command-specific complete_*() method is available. By default, it returns an empty list. r8)rÚignoreds rÚcompletedefaultÚCmd.completedefaultõs €ðˆ rcóŒ•SU-nUR5Vs/sHoDRU5(dMUSSPM! sn$s snf)NrPé)Ú get_namesÚ startswith)rÚtextr\ÚdotextÚas rÚ completenamesÚCmd.completenamesþs=€Ø�t‘ˆØ#Ÿ~™~Ô/ÓHÒ/˜!·<±<À×3G“��!�"“Ñ/ÑHÐHùÒHs ˜Aµ Acóø•US:Xa¹SSKnUR5nUR5n[U5[U5- nUR 5U- nUR 5U- nUS:”a8UR U5upšn U S:Xa URn O[USU -5n O URn U "XXx5Ul URU$![a URn N6f=f![a gf=f)z½Return the next possible completion for 'text'. If a command has not been entered, then complete against command list. Otherwise try to call complete_ to get list of completions. rNrÚ complete_) rÚget_line_bufferÚlstripr,Ú get_begidxÚ get_endidxrMr]rTÚAttributeErrorrfÚcompletion_matchesÚ IndexError) rrcÚstaterÚorigliner4ÚstrippedÚbegidxÚendidxrKÚargsÚfooÚcompfuncs rr Ú Cmd.completes€ð �A‹:Û Ø×/Ñ/Ó1ˆHØ—?‘?Ó$ˆDܘ8“}¤s¨4£yÑ0ˆHØ×(Ñ(Ó*¨XÑ5ˆFØ×(Ñ(Ó*¨XÑ5ˆFØ�a‹xØ!%§¡°Ó!5‘�˜3ؘ"“9Ø#×3Ñ3‘Hð8Ü#*¨4°¸sÑ1BÓ#C™ð ×-Ñ-�Ù&.¨t¸6Ó&JˆDÔ #ð Ø×*Ñ*¨5Ñ1Ð 1øô *ó8Ø#'×#7Ñ#7šð8ûôó Ùð ús$ÂCÃC,ÃC)Ã(C)Ã, C9Ã8C9có,•[UR5$©N)ÚdirÚ __class__r>s rraÚ Cmd.get_names s€ô�4—>‘>Ó"Ð"rcó”^•[UR"T65n[U4SjUR555n[X#-5$)Nc3ój># •UH(nURSTS-5(dM!USSv• M* g7f)Úhelp_réN)rb)Ú.0rervs €rÚ Ú$Cmd.complete_help..'s5øé€ð9Ò$4˜qØŸ ™  W¨t°A©wÑ%6×7ó�Q�q�r•UÒ$4ùsƒ 3§ 3)ÚsetrfraÚlist)rrvÚcommandsÚtopicss ` rÚ complete_helpÚCmd.complete_help%sCø€Ü�t×)Ò)¨4Ð0Ó1ˆÜô9 D§N¡NÔ$4ó9ó9ˆä�HÑ%Ó&Ð&rcó˜•U(a[USU-5nU"5 gUR5n/n/n[5nUH"nUSSS:XdMURUSS5 M$ UR5 Sn UHƒnUSSS:XdMX‰:XaMUn USSn X§;a$URU 5 URU 5 ME[X5R(aURU 5 MrURU 5 M… UR R S[UR5-5 UR!UR"USS 5 UR!UR$['U5SS 5 UR!UR(USS 5 g![a© [USU-5Rn[R"U5nU(a)UR R S[U5-5 gO![a Of=fUR R S[URU4-5-5 gf=f) zEList available commands with "help" or detailed help with "help cmd".r�rPú%s Nr‚rr`ééP)rTrnÚ__doc__ÚinspectÚcleandocr r%r&Únohelprar†ÚaddÚsortÚappendÚremoveÚ doc_leaderÚ print_topicsÚ doc_headerÚ misc_headerÚsortedÚ undoc_header) rrLrUÚdocÚnamesÚcmds_docÚ cmds_undocr‰ÚnameÚprevnamerKs rÚdo_helpÚ Cmd.do_help+s€æ ð ܘt W¨s¡]Ó3�ñ �Fà—N‘NÓ$ˆE؈H؈JÜ“UˆFÛ�ؘ˜�8˜wÕ&Ø—J‘J˜t A B˜xÖ(ñð �J‰JŒLàˆHÛ�ؘ˜�8˜uÕ$ØÓ'Ù Ø#�HؘQ˜R˜�CØ“}Ø Ÿ™¨Ô,ØŸ ™  cÖ*Ü  Ó,×4×4Ø Ÿ™¨Ö,à"×)Ñ)¨#Ö.ñð �K‰K× Ñ ˜f¤S¨¯©Ó%9Ñ9Ô :Ø × Ñ ˜dŸo™o°¸RÀÔ CØ × Ñ ˜d×.Ñ.´¸³ÀÀ2Ô FØ × Ñ ˜d×/Ñ/°¸RÀÕ CøôO"ó ðÜ  e¨c¡kÓ2×:Ñ:�CÜ!×*Ò*¨3Ó/�CÞØŸ ™ ×)Ñ)¨&´°S³©/Ô:Ùðøô&óÙðúà— ‘ ×!Ñ! &¬¨T¯[©[¸C¸6Ñ-AÓ)BÑ"BÔCÙð ús6‰FÆ I Æ!AHÈI È HÈ I È HÈ8I ÉI c ó\•U(a¥URRS[U5-5 UR(a=URRS[UR[ U5-5-5 UR X$S- 5 URRS5 gg)Nr�r r)r r%r&Úrulerr,Ú columnize)rÚheaderÚcmdsÚcmdlenÚmaxcols rr™ÚCmd.print_topicsZsw€Þ Ø �K‰K× Ñ ˜f¤S¨£[Ñ0Ô 1Ø�z�zØ— ‘ ×!Ñ! &¬¨T¯Z©Z¼#¸f»+Ñ-EÓ)FÑ"FÔGØ �N‰N˜4¨¡Ô *Ø �K‰K× Ñ ˜dÕ #ð rc ó¶•U(dURRS5 g[[U55Vs/sHn[ X[ 5(aMUPM nnU(a+[ SSR[[ U55-5e[U5nUS:Xa+URRS[ US5-5 g[S[U55H„nXV-S- U-n/nSn [U5H]n Sn [U5H*n XÆU --nX5:¼a OXn [U [U 55n M, URU 5 X›S -- n X’:”dM] O X’::dM„ O [U5nSnS/n[U5HÊn /n[U5H'n XÆU --nX5:¼aS n OXn URU 5 M) U(a US (dUS U(a US (dM[[U55Hn XêRXŠ5Xê'M URRS[ S RU55-5 MÌ gs snf) z¤Display a list of strings as a compact set of columns. Each column is only as wide as necessary. Columns are separated by two spaces (one was not legible enough). z Nz list[i] not a string for i in %sz, r r�réþÿÿÿéréÿÿÿÿz ) r r%Úranger,Ú isinstancer&Ú TypeErrorÚjoinÚmapÚmaxr–Úljust)rr‡Ú displaywidthrIÚ nonstringsÚsizeÚnrowsÚncolsÚ colwidthsÚtotwidthÚcolÚcolwidthÚrowÚxÚtextss rr¨Ú Cmd.columnizebs'€ö Ø �K‰K× Ñ ˜kÔ *Ø ä!&¤s¨4£yÔ!1ó9Ò!1˜AÜ)¨$©'´3×7÷Ñ!1ˆ ð9æ ÜÐ>Ø"Ÿi™i¬¬C°Ó(<Ó=ñ>ó?ð ?ä�4‹yˆØ �1‹9Ø �K‰K× Ñ ˜f¤S¨¨a©£\Ñ1Ô 2Ø ä˜1œc $›iÖ(ˆEØ‘Z ‘\ eÑ+ˆE؈I؈HܘU–|�Ø�Ü  ž<�CØ C™i™�AØ“yÙØ™�AÜ" 8¬S°«VÓ4’Hñ (ð × Ñ  Ô*Ø q™LÑ(�ØÕ*Ùñ$ðÕ'Ùñ#)ô&˜“IˆE؈EؘˆIܘ–<ˆC؈EܘU–|�Ø ™)‘O�Ø“9Ø‘Aà™�AØ— ‘ ˜Q–ñ $ö  b§ ؘ"�Iö  b§ ¡ äœS ›ZÖ(�Ø"™Z×-Ñ-¨i©nÓ=�“ ñ)à �K‰K× Ñ ˜f¤S¨¯©°5Ó)9Ó%:Ñ:Ö ;ò ùòA9s ºIÁI)rrror$rSrr r )rNNr{)r�)%Ú__name__Ú __module__Ú __qualname__Ú__firstlineno__r�ÚPROMPTr)Ú IDENTCHARSrHr§rSr$r˜ršr›r�r“rrr5r.r0rr1rMr/rQrRr]rfr rarŠr¤r™r¨Ú__static_attributes__r8rrrr4sž†ñ ð€FØ€JØ €EØ€GØ €EØ€JØ;€JØ.€KØ+€LØ €FØ€Lô'ô,9òxòò ò òò(ò4-ò;òòIòò<#ò 'ò -Dò^$÷7rÑsDðñ*÷XÓà ˆ'€à €Ø × !Ñ ! F§M¡MÑ 1°CÑ 7€ ÷e<òe