Add core-office export-csv command; deprecate crepes export-csv

This commit is contained in:
Lance Edgar 2023-06-11 11:55:29 -05:00
parent 77bd9e34e4
commit 15bac1dc23
3 changed files with 19 additions and 9 deletions

View file

@ -100,6 +100,15 @@ class GetConfigValue(commands.Subcommand):
self.stdout.write(f"{value}\n")
class ExportCSV(commands.ExportFileSubcommand):
"""
Export data from CORE to CSV file(s)
"""
name = 'export-csv'
description = __doc__.strip()
handler_key = 'to_csv.from_corepos_db_office_op.export'
class ImportCSV(commands.ImportFileSubcommand):
"""
Import data from CSV to CORE Office "op" DB