def eval_command(self, args):
self.preprocess(args)
line_n = 0
try:
for line in self.client.pull(**args):
for iterElement in list(json_iterparse(line)):
line_n = self.output(iterElement, args)
except KeyboardInterrupt:
put_cursor(0, MINY + OFFSET + line_n)
colorama.deinit()
raise KeyboardInterrupt
put_cursor(0, MINY + OFFSET + line_n)
colorama.deinit()
self.settings[self.name] = "\r"
评论列表
文章目录