package msg import ( "bytes" "errors" "fmt" "io" "strings" "git.sr.ht/~sircmpwn/getopt" "git.sr.ht/~sircmpwn/aerc/lib" "git.sr.ht/~sircmpwn/aerc/lib/format" "git.sr.ht/~sircmpwn/aerc/models" "git.sr.ht/~sircmpwn/aerc/widgets" ) type reply struct{} func init() { register(reply{}) } func (reply) Aliases() []string { return []string{"reply"} } func (reply) Complete(aerc *widgets.Aerc, args []string) []string { return nil } func (reply) Execute(aerc *widgets.Aerc, args []string) error { opts, optind, err := getopt.Getopts(args, "aqT:") if err != nil { return err } if optind != len(args) { return errors.New("Usage: reply [-aq -T