aboutsummaryrefslogblamecommitdiffstats
path: root/commands/suspend.go
blob: 80d59028b2d0436290761265cc587f84cc775dd1 (plain) (tree)





















                                                 
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
}