Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Host string `required:"" help:"Set IMAP host."` Port int `default:"993" help:"Set IMAP port."` Username string `required:"" help:"Set IMAP username."` Password string `required:"" help:"Set IMAP password."` RemoteDir string `name:"remote-dir" default:"INBOX" help:"Set IMAP directory."` SizeLimit string `name:"size-limit" default:"20M" help:"Set size limit, mail exceed this limit will be skipped."` About about `help:"Show about."` SaveImportedTo string `hidden:"" default:"imported"` Eml []string `name:".eml" arg:"" optional:"" help:"list of .eml files"` }
func MustParseOptions ¶
func MustParseOptions() (opt Options)
Click to show internal directories.
Click to hide internal directories.