feat: add warnings mode for import/export handlers, commands

can now specify `--warn` for import/export CLI, to get diff email when
changes occur.

this also adds `get_import_handler()` and friends, via app provider.

also declare email settings for the 2 existing importers
This commit is contained in:
Lance Edgar 2025-12-20 15:32:15 -06:00
parent 1e7722de91
commit 19574ea4a0
18 changed files with 1150 additions and 26 deletions

View file

@ -67,13 +67,15 @@ cf. :doc:`rattail-manual:data/sync/index`.
.. toctree::
:maxdepth: 1
:caption: API
:caption: Package API
api/wuttasync
api/wuttasync.app
api/wuttasync.cli
api/wuttasync.cli.base
api/wuttasync.cli.import_csv
api/wuttasync.cli.import_versions
api/wuttasync.emails
api/wuttasync.importing
api/wuttasync.importing.base
api/wuttasync.importing.csv
@ -81,4 +83,5 @@ cf. :doc:`rattail-manual:data/sync/index`.
api/wuttasync.importing.model
api/wuttasync.importing.versions
api/wuttasync.importing.wutta
api/wuttasync.testing
api/wuttasync.util