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

Class OneLinePathCompletion

source code

cmd.Cmd --+        
          |        
   BasicCmd --+    
              |    
  SmartQuestion --+
                  |
                 OneLinePathCompletion
Known Subclasses:

a class for answering a question with the path autocompletion

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

Inherited from SmartQuestion: __call__, __init__, cmdloop, default, emptyline, get_names, onecmd, preloop, reask

Inherited from BasicCmd: complete, deal_multiple_categories, getTerminalSize, print_suggestions

Inherited from cmd.Cmd: columnize, complete_help, do_help, parseline, postloop, print_topics

Static Methods [hide private]

Inherited from BasicCmd: list_completion, path_completion, split_arg

Class Variables [hide private]
  completion_prefix = ''

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

Method Details [hide private]

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)

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

source code 
Overrides: cmd.Cmd.completenames

postcmd(self, stop, line)

source code 

Hook method executed just after a command dispatch is finished.

Overrides: cmd.Cmd.postcmd
(inherited documentation)

precmd(self, *args)

source code 

Hook method executed just before the command line is interpreted, but after the input prompt is generated and issued.

Overrides: cmd.Cmd.precmd