2019-06-02 05:15:04 +00:00
|
|
|
package msg
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.sr.ht/~sircmpwn/aerc/commands"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
MessageCommands *commands.Commands
|
|
|
|
)
|
|
|
|
|
2019-06-27 17:33:11 +00:00
|
|
|
func register(cmd commands.Command) {
|
2019-06-02 05:15:04 +00:00
|
|
|
if MessageCommands == nil {
|
|
|
|
MessageCommands = commands.NewCommands()
|
|
|
|
}
|
2019-06-27 17:33:11 +00:00
|
|
|
MessageCommands.Register(cmd)
|
2019-06-02 05:15:04 +00:00
|
|
|
}
|