2019-03-21 20:30:23 +00:00
|
|
|
package account
|
|
|
|
|
|
|
|
import (
|
2021-11-05 09:19:46 +00:00
|
|
|
"git.sr.ht/~rjarry/aerc/commands"
|
2019-03-21 20:30:23 +00:00
|
|
|
)
|
|
|
|
|
2022-07-31 20:16:40 +00:00
|
|
|
var AccountCommands *commands.Commands
|
2019-03-21 20:30:23 +00:00
|
|
|
|
2019-06-27 17:33:11 +00:00
|
|
|
func register(cmd commands.Command) {
|
2019-03-21 20:30:23 +00:00
|
|
|
if AccountCommands == nil {
|
|
|
|
AccountCommands = commands.NewCommands()
|
|
|
|
}
|
2019-06-27 17:33:11 +00:00
|
|
|
AccountCommands.Register(cmd)
|
2019-03-21 20:30:23 +00:00
|
|
|
}
|