refactor: replace --select by --no-select

This commit is contained in:
Clément DOUIN
2026-03-14 14:19:07 +01:00
parent b77a54e5dc
commit 17ec4b0fa1
25 changed files with 120 additions and 129 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ pub struct SaveMessageCommand {
impl SaveMessageCommand {
pub fn execute(self, printer: &mut impl Printer, account: ImapAccount) -> Result<()> {
let mut imap = account.new_imap_session()?;
let mailbox: Mailbox<'static> = self.mailbox.name.try_into()?;
let mailbox: Mailbox<'static> = self.mailbox.inner.try_into()?;
let message = if stdin().is_terminal() || printer.is_json() {
self.message
.join(" ")