From: Peter Wang Date: Sun, 23 Jun 2013 12:20:45 +0000 (+1000) Subject: cli: add insert command X-Git-Tag: 0.16_rc1~39 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=9439a1ec0cbb60e75925a5a17e8284fcaccf51df;hp=9439a1ec0cbb60e75925a5a17e8284fcaccf51df;p=obsolete%2Fnotmuch-old cli: add insert command The notmuch insert command reads a message from standard input, writes it to a Maildir folder, and then incorporates the message into the notmuch database. Essentially it moves the functionality of notmuch-deliver into notmuch. Though it could be used as an alternative to notmuch new, the reason I want this is to allow my notmuch frontend to add postponed or sent messages to the mail store and notmuch database, without resorting to another tool (e.g. notmuch-deliver) nor directly modifying the maildir. ---