Hook method executed just before the command line is interpreted, but after the input prompt is generated and issued.
(self, line)
| 148 | |
| 149 | |
| 150 | def precmd(self, line): |
| 151 | """Hook method executed just before the command line is |
| 152 | interpreted, but after the input prompt is generated and issued. |
| 153 | |
| 154 | """ |
| 155 | return line |
| 156 | |
| 157 | def postcmd(self, stop, line): |
| 158 | """Hook method executed just after a command dispatch is finished.""" |