docs: add docs for wutta export-csv command

This commit is contained in:
Lance Edgar 2026-01-03 16:09:47 -06:00
parent 61deaad251
commit b1fdf488ad
3 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,6 @@
``wuttasync.cli.export_csv``
============================
.. automodule:: wuttasync.cli.export_csv
:members:

View file

@ -73,6 +73,7 @@ cf. :doc:`rattail-manual:data/sync/index`.
api/wuttasync.app
api/wuttasync.cli
api/wuttasync.cli.base
api/wuttasync.cli.export_csv
api/wuttasync.cli.import_csv
api/wuttasync.cli.import_versions
api/wuttasync.emails

View file

@ -9,6 +9,24 @@ WuttaSync.
It is fairly simple to add more; see :doc:`custom`.
.. _wutta-export-csv:
``wutta export-csv``
--------------------
Export data from the Wutta :term:`app database` to CSV file(s).
This *should* be able to automatically export any table mapped in the
:term:`app model`. The only caveat is that it is "dumb" and does not
have any special field handling. This means the column headers in the
CSV will be the same as in the source table, and some data types may
not behave as expected etc.
Defined in: :mod:`wuttasync.cli.export_csv`
.. program-output:: wutta export-csv --help
.. _wutta-import-csv:
``wutta import-csv``