aerc/commands/account/account.go

17 lines
255 B
Go
Raw Normal View History

2019-03-21 20:30:23 +00:00
package account
import (
"git.sr.ht/~rjarry/aerc/commands"
2019-03-21 20:30:23 +00:00
)
var (
AccountCommands *commands.Commands
)
func register(cmd commands.Command) {
2019-03-21 20:30:23 +00:00
if AccountCommands == nil {
AccountCommands = commands.NewCommands()
}
AccountCommands.Register(cmd)
2019-03-21 20:30:23 +00:00
}