List folders
$ himalaya folder list [OPTIONS]
Lists all folders of the given account (via the global option -a|--account
, or the default one if omitted). 2 properties are displayed:
name
: the name of the folderdesc
: the description of the folder
Options
-w|--max-width
The maximum width the table should not exceed.
This argument will force the table not to exceed the given width in pixels. Columns may shrink with ellipsis in order to fit the width.
--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.list.backend
Override the backend used for listing folders.
# valid backends: maildir, imap, notmuch
folder.list.backend = "imap"
Example
$ himalaya folder list --disable-cache --account posteo
NAME │DESC
Junk │\HasNoChildren, Junk
Archives │\HasChildren
Archives.FOSS │\HasNoChildren
Trash │\HasNoChildren
Notes │\HasNoChildren
Drafts │\HasNoChildren
Sent │\HasNoChildren
INBOX │\HasNoChildren