Delete a folder

$ himalaya folder delete [OPTIONS] <FOLDER>

All emails from the given folder are definitely deleted. The folder is also deleted after execution of the command.

Options

--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.

Settings

folder.delete.backend

Override the backend used for deleting folders.

# valid backends: maildir, imap, notmuch
folder.delete.backend = "imap"