aboutsummaryrefslogtreecommitdiffstats
path: root/commands/account/export-mbox.go
Commit message (Collapse)AuthorAgeFilesLines
* logging: use level-based logger functionsRobin Jarry2022-07-231-11/+10
| | | | | | | | | | | | Do not pass logger objects around anymore. Shuffle some messages to make them consistent with the new logging API. Avoid using %v when a more specific verb exists for the argument types. The loggers are completely disabled (i.e. Sprintf is not even called) by default. They are only enabled when redirecting stdout to a file. Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
* account: export folder to mbox fileKoni Marti2022-07-141-0/+126
Export all message in the current folder to an mbox file. If an error occurs during the export, aerc retries a few times before giving up to prevent a hang. Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>