aboutsummaryrefslogtreecommitdiffstats
path: root/commands/suspend.go
blob: 80d59028b2d0436290761265cc587f84cc775dd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}