mirror of
https://github.com/mjl-/mox.git
synced 2025-07-19 00:46:36 +03:00
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:
@ -305,6 +305,12 @@ func TestCtl(t *testing.T) {
|
||||
testctl(func(xctl *ctl) {
|
||||
ctlcmdConfigAccountDisabled(xctl, "mjl2", "testing")
|
||||
})
|
||||
|
||||
// "accountlist"
|
||||
testctl(func(xctl *ctl) {
|
||||
ctlcmdConfigAccountList(xctl)
|
||||
})
|
||||
|
||||
testctl(func(xctl *ctl) {
|
||||
ctlcmdConfigAccountDisabled(xctl, "mjl2", "")
|
||||
})
|
||||
|
Reference in New Issue
Block a user