review reply command

This commit is contained in:
Clément DOUIN 2021-09-19 17:04:05 +02:00
parent 7a43bdd46e
commit 079572666a
No known key found for this signature in database
GPG key ID: 69C9B9CFFDEE2DEF
2 changed files with 2 additions and 0 deletions

View file

@ -278,6 +278,7 @@ pub fn subcmds<'a>() -> Vec<App<'a, 'a>> {
.short("r"), .short("r"),
), ),
SubCommand::with_name("reply") SubCommand::with_name("reply")
.aliases(&["rep", "r"])
.about("Answers to a message") .about("Answers to a message")
.arg(uid_arg()) .arg(uid_arg())
.arg(reply_all_arg()) .arg(reply_all_arg())

View file

@ -326,6 +326,7 @@ pub fn read<OutputService: OutputServiceInterface, ImapService: ImapServiceInter
Ok(()) Ok(())
} }
/// Reply to the given message UID.
pub fn reply< pub fn reply<
OutputService: OutputServiceInterface, OutputService: OutputServiceInterface,
ImapService: ImapServiceInterface, ImapService: ImapServiceInterface,