add "mox config account list", printing all accounts and whether they are disabled

based on question from wisse on slack
This commit is contained in:
Mechiel Lukkien
2025-04-16 19:59:20 +02:00
parent 31c22618f5
commit 1b2b152cb5
4 changed files with 58 additions and 1 deletions

10
doc.go
View File

@ -63,6 +63,7 @@ any parameters. Followed by the help and usage information for each command.
mox config dnsrecords domain
mox config describe-domains >domains.conf
mox config describe-static >mox.conf
mox config account list
mox config account add account address
mox config account rm account
mox config account disable account message
@ -953,6 +954,15 @@ may contain unfinished list items.
usage: mox config describe-static >mox.conf
# mox config account list
List all accounts.
Each account is printed on a line, with optional additional tab-separated
information, such as "(disabled)".
usage: mox config account list
# mox config account add
Add an account with an email address and reload the configuration.