code: def loop(self):
          
  
          while True:
              text = compat.input('ctl > ')
              command, args = self.parse_input(text)
              if not command:
                  continue
              response = self.call(command, *args)
              response.show()
docs: Enter loop, read user input then run command. Repeat