Save a template

$ himalaya template save [OPTIONS] [TEMPLATE]...

Save a template to a folder.

This command allows you to save a template to the given folder. The template is compiled into a MIME message before being saved to the folder. If you want to save a raw message, use the message save command instead.

Options

-f|--folder

The name of the folder.

--disable-cache

Disable any sort of cache.

The action depends on commands it apply on. For example, when listing envelopes using the IMAP backend, this flag will ensure that envelopes are fetched from the IMAP server rather than the synchronized local Maildir.

-a|--account

Override the default account.

An account name corresponds to an entry in the table at the root level of your TOML configuration file.

Examples

$ cat ~/email.eml | himalaya template save --folder Archives
$ himalaya template save --folder Archives < ~/email.eml