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

Class OneLinePathCompletion

source code

 object --+            
          |            
OriginalCmd --+        
              |        
       BasicCmd --+    
                  |    
      SmartQuestion --+
                      |
                     OneLinePathCompletion
Known Subclasses:

a class for answering a question with the path autocompletion

Instance Methods [hide private]
 
completenames(self, text, line, begidx, endidx, formatting=True) 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
 
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: __call__, __init__, cmdloop, complete_help, default, do_help, emptyline, get_names, onecmd, preloop, reask

Inherited from BasicCmd: complete, deal_multiple_categories, getTerminalSize, print_suggestions, set_readline_completion_display_matches_hook

Inherited from OriginalCmd: columnize, parseline, postloop, print_topics

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from BasicCmd: list_completion, path_completion, split_arg

Class Variables [hide private]
  completion_prefix = ''
  allowpath = True

Inherited from OriginalCmd: doc_header, doc_leader, identchars, intro, lastcmd, misc_header, nohelp, prompt, ruler, undoc_header, use_rawinput

Properties [hide private]

Inherited from SmartQuestion: answer

Inherited from object: __class__

Method Details [hide private]

completenames(self, text, line, begidx, endidx, formatting=True)

source code 
Overrides: OriginalCmd.completenames

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: OriginalCmd.precmd

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: OriginalCmd.completedefault
(inherited documentation)

postcmd(self, stop, line)

source code 

Hook method executed just after a command dispatch is finished.

Overrides: OriginalCmd.postcmd
(inherited documentation)