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

Class OneLinePathCompletion

source code

cmd.Cmd --+        
          |        
   BasicCmd --+    
              |    
  SmartQuestion --+
                  |
                 OneLinePathCompletion

a class for answering a question with the path autocompletion

Instance Methods [hide private]
 
completenames(self, text, line, begidx, endidx) source code
 
completedefault(self, text, line, begidx, endidx)
Method called to complete an input line when no command-specific complete_*() method is available.
source code
 
postcmd(self, stop, line)
Hook method executed just after a command dispatch is finished.
source code

Inherited from SmartQuestion: __init__, cmdloop, default, emptyline, preloop

Inherited from BasicCmd: complete, deal_multiple_categories, getTerminalSize, print_suggestions

Inherited from cmd.Cmd: columnize, complete_help, do_help, get_names, onecmd, parseline, 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]

completenames(self, text, line, begidx, endidx)

source code 
Overrides: cmd.Cmd.completenames

completedefault(self, text, line, begidx, endidx)

source code 

Method called to complete an input line when no command-specific complete_*() method is available.

By default, it returns an empty list.

Overrides: cmd.Cmd.completedefault
(inherited documentation)

postcmd(self, stop, line)

source code 

Hook method executed just after a command dispatch is finished.

Overrides: cmd.Cmd.postcmd
(inherited documentation)