grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026+ r ñ÷ÊÙ%ãó4€Rt^RItR.tRtRt!RR4tR#)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) Ú?ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cóÈa€]tRt^7toRt]t]tRt Rt Rt Rt Rt RtRtRt^tRR ltRR ltR tR tR tRtRtRtRtRtRtRtRtRtRt Rt!Rt"RRlt#Rt$Vt%R#)raè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 %sc ó €VeW nM\PVnVeW0nM\PVn.VnWnR#)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)Úselfr rr s&&&&Ú*/opt/alt/python314/lib64/python3.14/cmd.pyÚ__init__Ú Cmd.__init__Os=€ð Ò Ø�J䟙ˆDŒJØ Ò Ø �KäŸ*™*ˆDŒK؈Œ Ø&Öóc ó*€VP4VP'džVP'dŒ^RIpVP 4VnVP VP4VPR8Xd&VPR8XdRpM RVP R2pMVP R2pVPV4VeWn VP'd6VPP\VP4R,4RpV'Eg VP'dVPP!^4pM§VP'd\#VP$4pM~VPPVP$4VPP)4VP*P4p\-V4'gR pMVP/R 4pVP1V4pVP3V4pVP5WE4pEKVP74VP'd7VP'd#^RIpVP VP 4R#R#R# \dELÐi;i \&dR pL±i;i \dR#i;i TP'dFTP'd3^RIpTP TP 4i \dii;iii;i) 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. NÚ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)r r!rÚcommand_stringÚstopÚlines&& rÚcmdloopÚ Cmd.cmdloopest€ð � ‰ ŒØ × × Ð  ×!1×!1Ð!1ð ÛØ%-×%;Ñ%;Ó%=�Ô"Ø×&Ñ& t§}¡}Ô5Ø×#Ñ# zÔ1Ø×'Ñ'¨5Ô0à)>™à+0°×1AÑ1AÐ0BÀ,Ð)O™à(,×(8Ñ(8Ð'9¸Ð%D�NØ×'Ñ'¨Ô7ð! ØÒ Ø"” Ø�z�zˆzØ— ‘ ×!Ñ!¤# d§j¡j£/°$Õ"6Ô7؈Dß�dØ—=—=�=ØŸ=™=×,Ñ,¨QÓ/‘Dà×(×(Ð(ð)Ü#(¨¯©Ó#5™D🠙 ×)Ñ)¨$¯+©+Ô6ØŸ ™ ×)Ñ)Ô+Ø#Ÿz™z×2Ñ2Ó4˜Ü" 4ŸyšyØ#(™Dà#'§;¡;¨vÓ#6˜DØ—{‘{ 4Ó(�Ø—{‘{ 4Ó(�Ø—|‘| DÓ/“Ø �M‰MŒOà× × Ð  T×%5×%5Ð%5ðÛ#Ø×*Ñ*¨4×+=Ñ+=Ö>ñ&6Ñ øô=ô Úð ûô (ô)Ø#(šDð)ûô&#ôÚðûð × × Ð  T×%5×%5Ð%5ðÛ#Ø×*Ñ*¨4×+=Ñ+=Õ>øÜ"ôÙðúð &6Ð ús‹¶B JÃJ9Ã?J9ÄJ9Ä/-J9ÅJÅ3CJ9ÉJ'Ê JÊJÊ J$Ê!J9Ê#J$Ê$J9Ê' J6Ê5J6Ê9$LËK?Ë>LË? L Ì LÌ L Ì Lc ó€V#)zwHook method executed just before the command line is interpreted, but after the input prompt is generated and issued. ©©r r1s&&rr+Ú Cmd.precmd¡s €ð ˆ rc ó€V#)z?Hook method executed just after a command dispatch is finished.r5)r r0r1s&&&rr-Ú Cmd.postcmd¨s€àˆ rc ó€R#)z>Hook method executed once when the cmdloop() method is called.Nr5©r s&rrÚ Cmd.preloop¬s€á rc ó€R#)zIHook method executed once when the cmdloop() method is about to return. Nr5r;s&rr.Ú Cmd.postloop°s€ñ rc ó‚€VP4pV'gRRV3#V^,R8XdRVR,,pM6V^,R8Xd)\VR4'dRVR,,pMRRV3#^\V4r2W#8d#W,VP9d V^,pK(VRVWRP4rTWEV3#)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. NÚ?zhelp :éNNÚ!Údo_shellzshell )ÚstripÚhasattrr)Ú identchars)r r1ÚiÚnÚcmdÚargs&& rÚ parselineÚ Cmd.parseline·s²€ð �z‰z‹|ˆßؘ˜tÐ#Ð #Ø �!�W˜Œ^ؘT "�XÕ%‰DØ �!�W˜Œ^Ü�t˜Z×(Ò(Ø $ r¥(Õ*‘à˜T 4Ð'Ð'Ø”#�d“)ˆ1ØŒe˜� 4§?¡?Ô2¸¸!½²Aؘ˜�8˜T "˜XŸ^™^Ó-ˆSؘˆ~Ðrc ó>€VPV4wr#pV'gVP4#VfVPV4#WnVR8XdRVnVR8XdVPV4#\ VRV,R4pVfVPV4#V!V4#)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_)rKÚ emptylineÚdefaultÚlastcmdÚgetattr)r r1rIrJÚfuncs&& rr,Ú Cmd.onecmdËs“€ðŸ™¨Ó-‰ˆ�$ߨ—>‘>Ó#Ð #Ø Š;Ø—<‘< Ó%Ð %ØŒ Ø �5Œ=؈DŒLØ �"Œ9Ø—<‘< Ó%Ð %ä˜4 ¨¥¨dÓ3ˆDØŠ|Ø—|‘| DÓ)Ð)Ù˜“9Ð rc ó`€VP'dVPVP4#R#)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)rQr,r;s&rrOÚ Cmd.emptylineås%€ð �<�<ˆ<Ø—;‘;˜tŸ|™|Ó,Ð ,ñ rc óJ€VPPRV,4R#)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"r6s&&rrPÚ 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. r5)r Úignoreds&*rÚcompletedefaultÚCmd.completedefaultøs €ðˆ rcóœ€RV,pVP4Uu.uF$qDPV4'gKVR,NK& up#uupi)rNºéNN)Ú get_namesÚ startswith)r ÚtextrZÚdotextÚas&&* rÚ completenamesÚCmd.completenamess=€Ø�t•ˆØ#Ÿ~™~Ô/ÓHÑ/˜!·<±<À×3G”��"—�Ñ/ÑHÐHùÒHs œA ¹ A c ó.€V^8XdÍ^RIpVP4pVP4p\V4\V4, pVP 4V, pVP 4V, pV^8”d?VP V4wršp V 'gVPp M!\VRV ,4p M VPp V !WWx4Vn VPV,# \dTPp L;i;i \dR#i;i)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. NÚ complete_) rÚget_line_bufferÚlstripr)Ú get_begidxÚ get_endidxrKr[rRÚAttributeErrorreÚcompletion_matchesÚ IndexError) r rbÚstaterÚorigliner1ÚstrippedÚbegidxÚendidxrIÚ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ߨ#×3Ñ3‘Hð8Ü#*¨4°¸sÕ1BÓ#C™ð ×-Ñ-�Ù&.¨t¸6Ó&JˆDÔ #ð Ø×*Ñ*¨5Õ1Ð 1øô *ô8Ø#'×#7Ñ#7šð8ûôô Úð ús$Â&C(ÃDÃ(DÄDÄ DÄDcó,€\VP4#©N)ÚdirÚ __class__r;s&rr`Ú Cmd.get_names#s€ô�4—>‘>Ó"Ð"rcóža€\VP!S!4p\V3RlVP444p\W#,4#)c3ó„<"€TF5pVPRS^,,4'gK*VR,x€K7 R#5i)Úhelp_ºéNNN)ra)Ú.0rdrus& €rÚ Ú$Cmd.complete_help..*s5øé€ð9Ñ$4˜qØŸ ™  W¨t°A­wÕ%6×7ô�Q�r—U’UÓ$4ùs ƒ'A¯A)Úsetrer`Úlist)r ruÚcommandsÚtopicss&j rÚ complete_helpÚCmd.complete_help(sCø€Ü�t×)Ò)¨4Ñ0Ó1ˆÜô9 D§N¡NÔ$4ó9ó9ˆä�HÕ%Ó&Ð&rc óò€V'd\VRV,4pT!4R#VP4p.p.p\4pVF+p V R,R8XgKVPV R,4K- VP4Rp VF�p V R ,R8XgKWš8XdKT p V R ,p W¸9d%VPV 4VPV 4KP\W 4P'dVPV 4K~VPV 4K‘ VP P R\VP4,4VP!VP"V^^P4VP!VP$\'V4^^P4VP!VP(V^^P4R# \d¶^RIHp\TRT,4PpT!T4pT'd/TP P R\T4,4R#M \dMi;iTP P R\TPT3,4,4R#i;i) zEList available commands with "help" or detailed help with "help cmd".r€)ÚcleandocrNú%s N:Nr‚Nr�r:Nr_Nr^)rRrmÚinspectr�Ú__doc__r r"r#Únohelpr`r†ÚaddÚsortÚappendÚremoveÚ doc_leaderÚ print_topicsÚ doc_headerÚ misc_headerÚsortedÚ undoc_header) r rJrSr�ÚdocÚnamesÚcmds_docÚ cmds_undocr‰ÚnameÚprevnamerIs && rÚdo_helpÚ Cmd.do_help.s÷€ç ð ܘt W¨s¥]Ó3�ñ ŽFà—N‘NÓ$ˆE؈H؈JÜ“UˆFÛ�ؘ•8˜wÖ&Ø—J‘J˜t B�xÖ(ñð �J‰JŒLàˆHÛ�ؘ•8˜uÖ$ØÔ'Ù Ø#�HؘR��CØ”}Ø Ÿ™¨Ô,ØŸ ™  cÖ*Ü  Ó,×4×4Ð4Ø Ÿ™¨Ö,à"×)Ñ)¨#Ö.ñð �K‰K× Ñ ˜f¤S¨¯©Ó%9Õ9Ô :Ø × Ñ ˜dŸo™o°¸RÀÔ CØ × Ñ ˜d×.Ñ.´¸³ÀÀ2Ô FØ × Ñ ˜d×/Ñ/°¸RÀÖ CøôS"ô Ý,ðÜ  e¨c¥kÓ2×:Ñ:�CÙ" 3›-�CߨŸ ™ ×)Ñ)¨&´°S³­/Ô:Úðøô&ôÙðúà— ‘ ×!Ñ! &¬¨T¯[©[¸C¸6Õ-AÓ)BÕ"BÔCÚð ús7ŠF6Æ6I6ÇAH$È#I6È$ H2È/I6È1H2È2AI6É5I6c ó„€V'd¸VPPR\V4,4VP'dFVPPR\VP\ V4,4,4VP W$^, 4VPPR4R#R#)rŽrN)r r"r#Úrulerr)Ú columnize)r ÚheaderÚcmdsÚcmdlenÚmaxcols&&&&&rr—ÚCmd.print_topics_sy€ß Ø �K‰K× Ñ ˜f¤S¨£[Õ0Ô 1Ø�z�zˆzØ— ‘ ×!Ñ! &¬¨T¯Z©Z¼#¸f»+Õ-EÓ)FÕ"FÔGØ �N‰N˜4¨¥Ô *Ø �K‰K× Ñ ˜dÖ #ñ rc  óD€V'gVPPR4R#\\V44Uu.uF#p\ W,\ 4'dK!VNK% ppV'd0\ RRP\\ V44,4h\V4pV^8Xd5VPPR\ V^,4,4R#\^\V44F§pWV,^, V,p.pRp \V4Fsp ^p \V4F7p WÆV ,,pW58¼dM!W,p \V \V 44p K9 VPV 4W›^,, p W’8”gKsM W’8:gK§M \V4p^p^.p\V4FØp .p\V4F4p WÆV ,,pW58¼dRp MW,p VPV 4K6 V'dVR ,'gVR K\\V44F"p Wê,PWŠ,4Wê&K$ VPPR\ RPV44,4KÚ R#uupi) 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Žrz éþÿÿÿéÿÿÿÿ) r r"Úranger)Ú isinstancer#Ú TypeErrorÚjoinÚmapÚmaxr”Úljust)r r‡Ú displaywidthrGÚ nonstringsÚsizeÚnrowsÚncolsÚ colwidthsÚtotwidthÚcolÚcolwidthÚrowÚxÚtextss&&& rr¦Ú Cmd.columnizegs€÷ Ø �K‰K× Ñ ˜kÔ *Ù ä!&¤s¨4£yÔ!1ó9Ñ!1˜AÜ)¨$­'´3×7÷�aÑ!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ÜœS ›ZÖ(�Ø"�Z×-Ñ-¨i­nÓ=�“ ñ)à �K‰K× Ñ ˜f¤S¨¯©°5Ó)9Ó%:Õ:Ö ;ó ùòA9s ¼JÁJ)r r rnr!rQrrr )rNNrz)éP)&Ú__name__Ú __module__Ú __qualname__Ú__firstlineno__r�ÚPROMPTr&Ú IDENTCHARSrFr¥rQr!r–r˜r™r›r‘rrr2r+r-rr.rKr,rOrPr[rerr`rŠr¢r—r¦Ú__static_attributes__Ú__classdictcell__)Ú __classdict__s@rrr7s¦ø‡€ñ ð€FØ€JØ €EØ€GØ €EØ€JØ;€JØ.€KØ+€LØ €FØ€Lô'ô,9òxòò ò òò(ò4-ò;òòIòò<#ò 'ò /Dòb$÷7<ò7rÎs/ðñ*óX à ˆ'€à €ð€ ÷ g<óg