Closed tomglvng closed 3 years ago
The following code
if self.export_format == 'word': WordExporter.export(annotations, self.export_directory) elif self.export_format == 'text': TextExporter.export(annotations, self.export_directory) else: ConsoleExporter.export(annotations)
is not ok. Need to refactor it !
https://docs.python.org/3/library/argparse.html
The following code
is not ok. Need to refactor it !