def do_quit(self, arg):
        global keep_alive_bool
        keep_alive_bool = False
        imap_cli.disconnect(self.imap_account)
        sys.stdout.write('Bye\n')
        return True
Exit this shell
dataset/ETHPy150Open Gentux/imap-cli/imap_cli/scripts/imap_shell.py/ImapShell.do_quit