/opt/imh/python3.13/lib/python3.13/__pycache__
NameSizeModeActions
abc.cpython-313.pyc79280644editdlrm
antigravity.cpython-313.pyc10000644editdlrm
argparse.cpython-313.pyc1040800644editdlrm
ast.cpython-313.pyc1030860644editdlrm
base64.cpython-313.pyc258320644editdlrm
bdb.cpython-313.pyc405800644editdlrm
bisect.cpython-313.pyc35120644editdlrm
bz2.cpython-313.pyc151800644editdlrm
calendar.cpython-313.pyc397080644editdlrm
cmd.cpython-313.pyc189770644editdlrm
code.cpython-313.pyc157990644editdlrm
codecs.cpython-313.pyc405720644editdlrm
codeop.cpython-313.pyc66550644editdlrm
colorsys.cpython-313.pyc45190644editdlrm
compileall.cpython-313.pyc206150644editdlrm
configparser.cpython-313.pyc689660644editdlrm
contextlib.cpython-313.pyc305090644editdlrm
contextvars.cpython-313.pyc2760644editdlrm
copy.cpython-313.pyc106450644editdlrm
copyreg.cpython-313.pyc75510644editdlrm
cProfile.cpython-313.pyc86790644editdlrm
csv.cpython-313.pyc207150644editdlrm
dataclasses.cpython-313.pyc478390644editdlrm
datetime.cpython-313.pyc4260644editdlrm
decimal.cpython-313.pyc30170644editdlrm
difflib.cpython-313.pyc720550644editdlrm
dis.cpython-313.pyc475320644editdlrm
doctest.cpython-313.pyc1076920644editdlrm
enum.cpython-313.pyc858660644editdlrm
filecmp.cpython-313.pyc150420644editdlrm
fileinput.cpython-313.pyc206480644editdlrm
fnmatch.cpython-313.pyc68190644editdlrm
fractions.cpython-313.pyc383840644editdlrm
ftplib.cpython-313.pyc423460644editdlrm
functools.cpython-313.pyc422860644editdlrm
genericpath.cpython-313.pyc78260644editdlrm
getopt.cpython-313.pyc84790644editdlrm
getpass.cpython-313.pyc73260644editdlrm
gettext.cpython-313.pyc225760644editdlrm
glob.cpython-313.pyc236810644editdlrm
graphlib.cpython-313.pyc102120644editdlrm
gzip.cpython-313.pyc319930644editdlrm
hashlib.cpython-313.pyc82910644editdlrm
heapq.cpython-313.pyc177850644editdlrm
hmac.cpython-313.pyc106750644editdlrm
imaplib.cpython-313.pyc626620644editdlrm
inspect.cpython-313.pyc1365370644editdlrm
io.cpython-313.pyc42900644editdlrm
ipaddress.cpython-313.pyc919790644editdlrm
keyword.cpython-313.pyc10560644editdlrm
linecache.cpython-313.pyc85670644editdlrm
locale.cpython-313.pyc590140644editdlrm
lzma.cpython-313.pyc157330644editdlrm
mailbox.cpython-313.pyc1187480644editdlrm
mimetypes.cpython-313.pyc249130644editdlrm
modulefinder.cpython-313.pyc284070644editdlrm
netrc.cpython-313.pyc93410644editdlrm
ntpath.cpython-313.pyc284840644editdlrm
nturl2path.cpython-313.pyc27520644editdlrm
numbers.cpython-313.pyc140470644editdlrm
opcode.cpython-313.pyc40770644editdlrm
operator.cpython-313.pyc173800644editdlrm
optparse.cpython-313.pyc675940644editdlrm
os.cpython-313.pyc458640644editdlrm
pdb.cpython-313.pyc1061180644editdlrm
pickle.cpython-313.pyc784190644editdlrm
pickletools.cpython-313.pyc804420644editdlrm
pkgutil.cpython-313.pyc199740644editdlrm
platform.cpython-313.pyc446900644editdlrm
plistlib.cpython-313.pyc431130644editdlrm
poplib.cpython-313.pyc184400644editdlrm
posixpath.cpython-313.pyc181150644editdlrm
pprint.cpython-313.pyc297130644editdlrm
profile.cpython-313.pyc225780644editdlrm
pstats.cpython-313.pyc378720644editdlrm
pty.cpython-313.pyc74200644editdlrm
pyclbr.cpython-313.pyc151590644editdlrm
pydoc.cpython-313.pyc1397200644editdlrm
py_compile.cpython-313.pyc100840644editdlrm
queue.cpython-313.pyc173480644editdlrm
quopri.cpython-313.pyc95750644editdlrm
random.cpython-313.pyc352710644editdlrm
reprlib.cpython-313.pyc111750644editdlrm
rlcompleter.cpython-313.pyc85870644editdlrm
runpy.cpython-313.pyc144060644editdlrm
sched.cpython-313.pyc76120644editdlrm
secrets.cpython-313.pyc25190644editdlrm
selectors.cpython-313.pyc263700644editdlrm
shelve.cpython-313.pyc133060644editdlrm
shlex.cpython-313.pyc148670644editdlrm
shutil.cpython-313.pyc674670644editdlrm
signal.cpython-313.pyc45590644editdlrm
site.cpython-313.pyc316620644editdlrm
smtplib.cpython-313.pyc473750644editdlrm
socket.cpython-313.pyc422340644editdlrm
socketserver.cpython-313.pyc346670644editdlrm
sre_compile.cpython-313.pyc6420644editdlrm
sre_constants.cpython-313.pyc6450644editdlrm
sre_parse.cpython-313.pyc6380644editdlrm
ssl.cpython-313.pyc652190644editdlrm
stat.cpython-313.pyc55380644editdlrm
statistics.cpython-313.pyc711130644editdlrm
string.cpython-313.pyc116660644editdlrm
stringprep.cpython-313.pyc252750644editdlrm
struct.cpython-313.pyc3400644editdlrm
subprocess.cpython-313.pyc819690644editdlrm
symtable.cpython-313.pyc232110644editdlrm
tabnanny.cpython-313.pyc124320644editdlrm
tarfile.cpython-313.pyc1258450644editdlrm
tempfile.cpython-313.pyc410080644editdlrm
textwrap.cpython-313.pyc179490644editdlrm
this.cpython-313.pyc14270644editdlrm
threading.cpython-313.pyc633120644editdlrm
timeit.cpython-313.pyc146530644editdlrm
token.cpython-313.pyc35880644editdlrm
tokenize.cpython-313.pyc254490644editdlrm
trace.cpython-313.pyc339780644editdlrm
traceback.cpython-313.pyc721390644editdlrm
tracemalloc.cpython-313.pyc274280644editdlrm
tty.cpython-313.pyc26790644editdlrm
turtle.cpython-313.pyc1751510644editdlrm
types.cpython-313.pyc155600644editdlrm
typing.cpython-313.pyc1545970644editdlrm
uuid.cpython-313.pyc323970644editdlrm
warnings.cpython-313.pyc295530644editdlrm
wave.cpython-313.pyc332520644editdlrm
weakref.cpython-313.pyc318180644editdlrm
webbrowser.cpython-313.pyc269010644editdlrm
zipapp.cpython-313.pyc104090644editdlrm
zipimport.cpython-313.pyc265220644editdlrm
_aix_support.cpython-313.pyc47320644editdlrm
_android_support.cpython-313.pyc76370644editdlrm
_apple_support.cpython-313.pyc34970644editdlrm
_collections_abc.cpython-313.pyc467080644editdlrm
_colorize.cpython-313.pyc40260644editdlrm
_compat_pickle.cpython-313.pyc72070644editdlrm
_compression.cpython-313.pyc78200644editdlrm
_ios_support.cpython-313.pyc27310644editdlrm
_markupbase.cpython-313.pyc124480644editdlrm
_opcode_metadata.cpython-313.pyc106930644editdlrm
_osx_support.cpython-313.pyc181420644editdlrm
_pydatetime.cpython-313.pyc945900644editdlrm
_pydecimal.cpython-313.pyc2170580644editdlrm
_pyio.cpython-313.pyc1117930644editdlrm
_pylong.cpython-313.pyc111730644editdlrm
_py_abc.cpython-313.pyc72070644editdlrm
_sitebuiltins.cpython-313.pyc49170644editdlrm
_strptime.cpython-313.pyc345000644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-313.pyc585830644editdlrm
_threading_local.cpython-313.pyc55380644editdlrm
_weakrefset.cpython-313.pyc120640644editdlrm
__future__.cpython-313.pyc47370644editdlrm
__hello__.cpython-313.pyc9810644editdlrm
Edit: /opt/imh/python3.13/lib/python3.13/__pycache__/cmd.cpython-313.pyc (18977B)
e;vSrSSKrSSKrSSKrS/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. NCmdz(Cmd) _c\rSrSrSr\r\rSr Sr Sr Sr Sr SrSrS rS rSS jrSS jrS rSrSrSrSrSrSrSrSrSrSrSrSr Sr!Sr"S Sjr#Sr$g)!r4aA 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 %scUbX lO[RUlUbX0lO[RUl/UlXlg)aInstantiate 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)stdinsysstdoutcmdqueue completekey)selfrr r s )/opt/imh/python3.13/lib/python3.13/cmd.py__init__ Cmd.__init__Ls=  JDJ   K**DK &cUR5 UR(aUR(aSSKnUR 5UlUR UR5 URS:Xa$URS:XaSnO SURS3nOURS3nURU5 UbXl UR(a1URR[UR5S -5 SnU(GdUR(aURR!S5nOUR(a[#UR$5nO}URRUR$5 URR)5 UR*R5n[-U5(dS nOUR/S 5nUR1U5nUR3U5nUR5XE5nU(dGMUR75 UR(a3UR(a!SSKnUR UR 5 ggg![a GNf=f![&a S nNf=f![a gf=f!UR(aCUR(a1SSKnUR UR 5 f![a ff=fff=f) zRepeatedly 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. rNeditlinetabzbind ^I rl_completezbind z rl_completez : complete EOFz )preloop use_rawinputrreadline get_completer old_completer set_completercompletebackendparse_and_bind ImportErrorintror writestrrpopinputpromptEOFErrorflushr lenrstripprecmdonecmdpostcmdpostloop)rr$rcommand_stringstoplines rcmdloop Cmd.cmdloopbsb    !1!1 %-%;%;%="&&t}}5##z1''50)>+01A1A0B,)O(,(8(8'9%DN''7!  " zz !!#djj/$"67D====,,Q/D(()#(#5D ))$++6 ))+#zz224"4yy#(D#';;v#6D{{4({{4(||D/'d( MMO  T%5%5#**4+=+=>&6 =   ()#(D)&#   T%5%5#**4+=+=>" &6 sBI6=BJ)J&B8J)!J)J6 JJ JJ)JJ) J&%J&)#K? K-,K?- K:7K?9K::K?cU$)zwHook method executed just before the command line is interpreted, but after the input prompt is generated and issued. rr4s rr. Cmd.precmds  rcU$)z?Hook method executed just after a command dispatch is finished.r8)rr3r4s rr0 Cmd.postcmds rcg)z>Hook method executed once when the cmdloop() method is called.Nr8rs rr Cmd.preloops rcg)zIHook method executed once when the cmdloop() method is about to return. Nr8r>s rr1 Cmd.postloops rcdUR5nU(dSSU4$USS:Xa SUSS-nO(USS:Xa[US5(a SUSS-nOSSU4$S[U5p2X#:a0XUR;aUS-o"U:aXUR;aMUSUXSR5pTXEU4$) zParse 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 )striphasattrr, identchars)rr4incmdargs r parseline Cmd.parselines zz|t# # !W^T!"X%D !W^tZ(($qr(*T4''#d)1e4??2!A!e4??28T"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. Nrrdo_)rM emptylinedefaultlastcmdgetattr)rr4rKrLfuncs rr/ Cmd.onecmds-$>># # ;<<% % 5=DL "9<<% %4d3D|||D))9 rc\UR(aURUR5$g)zCalled 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.emptylines# <<;;t||, , rc@URRSU-5 g)zCalled 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.defaults 4T9:rc/$)zMethod called to complete an input line when no command-specific complete_*() method is available. By default, it returns an empty list. r8)rignoreds rcompletedefaultCmd.completedefaults  rcSU-nUR5Vs/sHoDRU5(dMUSSPM! sn$s snf)NrP) get_names startswith)rtextr\dotextas r completenamesCmd.completenamess=t#~~/H/!<<3G!"/HHHs A AcUS:XaSSKnUR5nUR5n[U5[U5- nUR 5U- nUR 5U- nUS:a8UR U5upn U S:Xa URn O[USU -5n O URn U "XXx5Ul URU$![a URn N6f=f![a gf=f)zReturn 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_) rget_line_bufferlstripr, get_begidx get_endidxrMr]rTAttributeErrorrfcompletion_matches IndexError) rrcstaterorigliner4strippedbegidxendidxrKargsfoocompfuncs rr Cmd.completes A: //1H??$D8}s4y0H((*X5F((*X5Fax!%!53"9#33H8#*4s1B#C --&.t6&JD # **51 1 *8#'#7#78  s$CC,C)(C), C98C9c,[UR5$N)dir __class__r>s rra Cmd.get_names s4>>""rc^[UR"T65n[U4SjUR555n[X#-5$)Nc3j># UH(nURSTS-5(dM!USSv M* g7f)help_rN)rb).0rervs r $Cmd.complete_help..'s59$4q WtAw%67QqrU$4s 3 3)setrfralist)rrvcommandstopicss ` r complete_helpCmd.complete_help%sCt))4019DNN$499H%&&rcU(a[USU-5nU"5 gUR5n/n/n[5nUH"nUSSS:XdMURUSS5 M$ UR5 Sn UHnUSSS: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".rrP%s Nrrr`P)rTrn__doc__inspectcleandocr r%r&nohelpraraddsortappendremove doc_leader print_topics doc_header misc_headersorted undoc_header) rrLrUdocnamescmds_doc cmds_undocrnameprevnamerKs rdo_help Cmd.do_help+s  tWs]3 FNN$EHJUF8w&JJtABx( JJLH8u$' #HQRC} , c* ,44 ,"))#. KK  fS%99 :   dooR C   d..2 F   d//R CO" eck2::C!**3/C ))&S/:& !!&T[[C6-A)B"BC s6F I !AHI  H I  H8I I c \U(aURRS[U5-5 UR(a=URRS[UR[ U5-5-5 UR X$S- 5 URRS5 gg)Nrr r)r r%r&rulerr, columnize)rheadercmdscmdlenmaxcols rrCmd.print_topicsZsw  KK  fS[0 1zz !!&TZZ#f+-E)F"FG NN4 * KK  d # rc U(dURRS5 g[[U55Vs/sHn[ X[ 5(aMUPM nnU(a+[ SSR[[ U55-5e[U5nUS:Xa+URRS[ US5-5 g[S[U55HnXV-S- U-n/nSn [U5H]n Sn [U5H*n XU --nX5:a OXn [U [U 55n M, URU 5 XS -- n X:dM] O X::dM O [U5nSnS/n[U5Hn /n[U5H'n XU --nX5:aS n OXn URU 5 M) U(a US (dUS U(a US (dM[[U55Hn XRX5X'M URRS[ S RU55-5 M gs snf) zDisplay 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 rrrz ) r r%ranger, isinstancer& TypeErrorjoinmapmaxrljust)rr displaywidthrI nonstringssizenrowsncols colwidthstotwidthcolcolwidthrowxtextss rr Cmd.columnizebs'  KK  k * !&s4y!19!1A)$'37!1 9 >"iiC(<=>? ?4y 19 KK  fSa\1 2 1c$i(EZ\e+EIHU| rsD*X '   ! !FMM 1C 7 e<e