def watch(self, args):

        from_date = None
        while True:
            from_date = self.query(args, from_date)
            try:
                time.sleep(2)
            except (KeyboardInterrupt, __HOLE__):
                sys.exit(0)
dataset/ETHPy150Open alerta/python-alerta/alerta/shell.py/AlertCommand.watch