diff options
Diffstat (limited to 'commands/account/rmdir.go')
-rw-r--r-- | commands/account/rmdir.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/account/rmdir.go b/commands/account/rmdir.go index 8bf4d6b2..00366bd0 100644 --- a/commands/account/rmdir.go +++ b/commands/account/rmdir.go @@ -5,6 +5,7 @@ import ( "time" "git.sr.ht/~rjarry/aerc/app" + "git.sr.ht/~rjarry/aerc/commands" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/types" ) @@ -14,7 +15,11 @@ type RemoveDir struct { } func init() { - register(RemoveDir{}) + commands.Register(RemoveDir{}) +} + +func (RemoveDir) Context() commands.CommandContext { + return commands.ACCOUNT } func (RemoveDir) Aliases() []string { |