diff options
Diffstat (limited to 'commands/account/account.go')
-rw-r--r-- | commands/account/account.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/commands/account/account.go b/commands/account/account.go new file mode 100644 index 0000000..918d962 --- /dev/null +++ b/commands/account/account.go @@ -0,0 +1,16 @@ +package account + +import ( + "git.sr.ht/~sircmpwn/aerc2/commands" +) + +var ( + AccountCommands *commands.Commands +) + +func register(name string, cmd commands.AercCommand) { + if AccountCommands == nil { + AccountCommands = commands.NewCommands() + } + AccountCommands.Register(name, cmd) +} |