Package madgraph :: Package interface :: Module extended_cmd :: Class BasicCmd
[hide private]
[frames] | no frames]

Class BasicCmd

source code

cmd.Cmd --+
          |
         BasicCmd
Known Subclasses:

Simple extension for the readline

Instance Methods [hide private]
 
preloop(self)
Hook method executed once when the cmdloop() method is called.
source code
 
deal_multiple_categories(self, dico)
convert the multiple category in a formatted list understand by our specific readline parser
source code
 
print_suggestions(*args, **opt)
print auto-completions by category
source code
 
getTerminalSize(self) source code
 
complete(self, text, state)
Return the next possible completion for 'text'.
source code

Inherited from cmd.Cmd: __init__, cmdloop, columnize, complete_help, completedefault, completenames, default, do_help, emptyline, get_names, onecmd, parseline, postcmd, postloop, precmd, print_topics

Class Variables [hide private]

Inherited from cmd.Cmd: doc_header, doc_leader, identchars, intro, lastcmd, misc_header, nohelp, prompt, ruler, undoc_header, use_rawinput

Method Details [hide private]

preloop(self)

source code 

Hook method executed once when the cmdloop() method is called.

Overrides: cmd.Cmd.preloop
(inherited documentation)

print_suggestions(*args, **opt)

source code 

print auto-completions by category

Decorators:
  • @debug()

complete(self, text, state)

source code 

Return the next possible completion for 'text'. If a command has not been entered, then complete against command list. Otherwise try to call complete_<command> to get list of completions.

Overrides: cmd.Cmd.complete