aerc/commands/account/account.go

15 lines
250 B
Go

package account
import (
"git.sr.ht/~rjarry/aerc/commands"
)
var AccountCommands *commands.Commands
func register(cmd commands.Command) {
if AccountCommands == nil {
AccountCommands = commands.NewCommands()
}
AccountCommands.Register(cmd)
}