Add core-office export-csv
command; deprecate crepes export-csv
This commit is contained in:
parent
77bd9e34e4
commit
15bac1dc23
3 changed files with 19 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue