diff options
Diffstat (limited to 'commands/suspend.go')
-rw-r--r-- | commands/suspend.go | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/commands/suspend.go b/commands/suspend.go new file mode 100644 index 00000000..80d59028 --- /dev/null +++ b/commands/suspend.go @@ -0,0 +1,22 @@ +package commands + +import "git.sr.ht/~rjarry/aerc/lib/ui" + +type Suspend struct{} + +func init() { + register(Suspend{}) +} + +func (Suspend) Aliases() []string { + return []string{"suspend"} +} + +func (Suspend) Complete(args []string) []string { + return nil +} + +func (Suspend) Execute(args []string) error { + ui.QueueSuspend() + return nil +} |