'Routersploit main entry point. Starting interpreter loop.'

def start(self):

    utils.print_info(self.banner)
    printer_queue.join()
    while True:
        try:
            (command, args) = self.parse_line(raw_input(self.prompt))
            if (not command):
                continue
            command_handler = self.get_command_handler(command)
            command_handler(args)
        except RoutersploitException as err:
            utils.print_error(err)
        except EOFError:
            utils.print_info()
            utils.print_status('routersploit    stopped')
            break
        except KeyboardInterrupt:
            utils.print_info()
        finally:
            printer_queue.join()
