package msg import ( "bytes" "errors" "fmt" "io" "regexp" "strings" "time" "git.sr.ht/~sircmpwn/getopt" "git.sr.ht/~rjarry/aerc/commands/account" "git.sr.ht/~rjarry/aerc/config" "git.sr.ht/~rjarry/aerc/lib" "git.sr.ht/~rjarry/aerc/lib/crypto" "git.sr.ht/~rjarry/aerc/lib/format" "git.sr.ht/~rjarry/aerc/lib/parse" "git.sr.ht/~rjarry/aerc/log" "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, "acqT:") if err != nil { return err } if optind != len(args) { return errors.New("Usage: reply [-acq -T