Пример #1
0
 def do_ee( self, line ):
     """
     Execute EE sub-commands.
     See `ee help' for the list of sub-commands.
     Without arguments, enters into the sub-command interpreter.
     """
     ee = EE(self.mn, self.stdin)
     if line.strip():
         ee.onecmd( line )
     else:
         ee.cmdloop()
Пример #2
0
 def complete_ee( self, text, line, begidx, endidx ):
     l = len('ee')
     ee = EE(self.mn, self.stdin)
     return ee.complete_further(text, line[l:], begidx-l, endidx-l)