aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/attach-key.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/attach-key.go')
-rw-r--r--commands/compose/attach-key.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/compose/attach-key.go b/commands/compose/attach-key.go
index 6ba5eae0..047b9c08 100644
--- a/commands/compose/attach-key.go
+++ b/commands/compose/attach-key.go
@@ -2,12 +2,17 @@ package compose
import (
"git.sr.ht/~rjarry/aerc/app"
+ "git.sr.ht/~rjarry/aerc/commands"
)
type AttachKey struct{}
func init() {
- register(AttachKey{})
+ commands.Register(AttachKey{})
+}
+
+func (AttachKey) Context() commands.CommandContext {
+ return commands.COMPOSE
}
func (AttachKey) Aliases() []string {