aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/compose.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/compose.go')
-rw-r--r--commands/compose/compose.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/commands/compose/compose.go b/commands/compose/compose.go
new file mode 100644
index 00000000..ea533167
--- /dev/null
+++ b/commands/compose/compose.go
@@ -0,0 +1,16 @@
+package compose
+
+import (
+ "git.sr.ht/~sircmpwn/aerc2/commands"
+)
+
+var (
+ ComposeCommands *commands.Commands
+)
+
+func register(name string, cmd commands.AercCommand) {
+ if ComposeCommands == nil {
+ ComposeCommands = commands.NewCommands()
+ }
+ ComposeCommands.Register(name, cmd)
+}