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