package msg import ( "bytes" "errors" "fmt" "io" "regexp" "strings" "git.sr.ht/~sircmpwn/getopt" "git.sr.ht/~rjarry/aerc/lib" "git.sr.ht/~rjarry/aerc/lib/format" "git.sr.ht/~rjarry/aerc/logging" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/widgets" "github.com/emersion/go-message/mail" ) 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