Documentation ¶
Index ¶
- type Align
- type ChangeFolder
- type CheckMail
- type Clear
- type Compose
- type Connection
- type ExpandCollapseFolder
- type ExportMbox
- type ImportMbox
- type MakeDir
- type NextPrevFolder
- type NextPrevMsg
- type NextPrevResult
- type Query
- type Recover
- type RemoveDir
- type SearchFilter
- func (SearchFilter) Aliases() []string
- func (*SearchFilter) CompleteAddress(arg string) []string
- func (*SearchFilter) CompleteDate(arg string) []string
- func (*SearchFilter) CompleteFlag(arg string) []string
- func (*SearchFilter) CompleteNotmuch(arg string) []string
- func (SearchFilter) Context() commands.CommandContext
- func (s SearchFilter) Execute(args []string) error
- func (s *SearchFilter) ParseCc(arg string) error
- func (s *SearchFilter) ParseDate(arg string) error
- func (s *SearchFilter) ParseFlag(arg string) error
- func (s *SearchFilter) ParseFrom(arg string) error
- func (s *SearchFilter) ParseHeader(arg string) error
- func (s *SearchFilter) ParseNotFlag(arg string) error
- func (s *SearchFilter) ParseRead(arg string) error
- func (s *SearchFilter) ParseTo(arg string) error
- func (s *SearchFilter) ParseUnread(arg string) error
- type SelectMessage
- type Sort
- type Split
- type ViewMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Align ¶
type Align struct {
Pos app.AlignPosition `opt:"pos" metavar:"top|center|bottom" action:"ParsePos" complete:"CompletePos"`
}
func (*Align) CompletePos ¶
func (Align) Context ¶
func (Align) Context() commands.CommandContext
type ChangeFolder ¶
type ChangeFolder struct { Account bool `opt:"-a"` Folder string `opt:"..." complete:"CompleteFolderAndNotmuch"` }
func (ChangeFolder) Aliases ¶
func (ChangeFolder) Aliases() []string
func (*ChangeFolder) CompleteFolderAndNotmuch ¶
func (c *ChangeFolder) CompleteFolderAndNotmuch(arg string) []string
func (ChangeFolder) Context ¶
func (ChangeFolder) Context() commands.CommandContext
func (ChangeFolder) Execute ¶
func (c ChangeFolder) Execute([]string) error
type CheckMail ¶
type CheckMail struct{}
func (CheckMail) Context ¶
func (CheckMail) Context() commands.CommandContext
type Clear ¶
type Clear struct {
Selected bool `opt:"-s"`
}
func (Clear) Context ¶
func (Clear) Context() commands.CommandContext
type Compose ¶
type Compose struct { Headers string `opt:"-H" action:"ParseHeader"` Template string `opt:"-T" complete:"CompleteTemplate"` Edit bool `opt:"-e"` NoEdit bool `opt:"-E"` Body string `opt:"..." required:"false"` }
func (*Compose) CompleteTemplate ¶
func (Compose) Context ¶
func (Compose) Context() commands.CommandContext
func (*Compose) ParseHeader ¶
type Connection ¶
type Connection struct{}
func (Connection) Aliases ¶
func (Connection) Aliases() []string
func (Connection) Context ¶
func (Connection) Context() commands.CommandContext
func (Connection) Execute ¶
func (c Connection) Execute(args []string) error
type ExpandCollapseFolder ¶
type ExpandCollapseFolder struct{}
func (ExpandCollapseFolder) Aliases ¶
func (ExpandCollapseFolder) Aliases() []string
func (ExpandCollapseFolder) Context ¶
func (ExpandCollapseFolder) Context() commands.CommandContext
func (ExpandCollapseFolder) Execute ¶
func (ExpandCollapseFolder) Execute(args []string) error
type ExportMbox ¶
type ExportMbox struct {
Filename string `opt:"filename" complete:"CompleteFilename"`
}
func (ExportMbox) Aliases ¶
func (ExportMbox) Aliases() []string
func (*ExportMbox) CompleteFilename ¶
func (*ExportMbox) CompleteFilename(arg string) []string
func (ExportMbox) Context ¶
func (ExportMbox) Context() commands.CommandContext
func (ExportMbox) Execute ¶
func (e ExportMbox) Execute(args []string) error
type ImportMbox ¶
type ImportMbox struct {
Filename string `opt:"filename" complete:"CompleteFilename"`
}
func (ImportMbox) Aliases ¶
func (ImportMbox) Aliases() []string
func (*ImportMbox) CompleteFilename ¶
func (*ImportMbox) CompleteFilename(arg string) []string
func (ImportMbox) Context ¶
func (ImportMbox) Context() commands.CommandContext
func (ImportMbox) Execute ¶
func (i ImportMbox) Execute(args []string) error
type MakeDir ¶
type MakeDir struct {
Folder string `opt:"folder" complete:"CompleteFolder"`
}
func (*MakeDir) CompleteFolder ¶
func (MakeDir) Context ¶
func (MakeDir) Context() commands.CommandContext
type NextPrevFolder ¶
type NextPrevFolder struct {
Offset int `opt:"n" default:"1"`
}
func (NextPrevFolder) Aliases ¶
func (NextPrevFolder) Aliases() []string
func (NextPrevFolder) Context ¶
func (NextPrevFolder) Context() commands.CommandContext
func (NextPrevFolder) Execute ¶
func (np NextPrevFolder) Execute(args []string) error
type NextPrevMsg ¶
type NextPrevMsg struct { Amount int `opt:"n" default:"1" metavar:"<n>[%]" action:"ParseAmount"` Percent bool }
func (NextPrevMsg) Aliases ¶
func (NextPrevMsg) Aliases() []string
func (NextPrevMsg) Context ¶
func (NextPrevMsg) Context() commands.CommandContext
func (NextPrevMsg) Execute ¶
func (np NextPrevMsg) Execute(args []string) error
func (*NextPrevMsg) ParseAmount ¶
func (np *NextPrevMsg) ParseAmount(arg string) error
type NextPrevResult ¶
type NextPrevResult struct{}
func (NextPrevResult) Aliases ¶
func (NextPrevResult) Aliases() []string
func (NextPrevResult) Context ¶
func (NextPrevResult) Context() commands.CommandContext
func (NextPrevResult) Execute ¶
func (NextPrevResult) Execute(args []string) error
type Query ¶
type Query struct { Account string `opt:"-a" complete:"CompleteAccount"` Name string `opt:"-n"` Query string `opt:"..." complete:"CompleteNotmuch"` }
func (Query) CompleteAccount ¶
func (*Query) CompleteNotmuch ¶
func (Query) Context ¶
func (Query) Context() commands.CommandContext
type Recover ¶
type Recover struct { Force bool `opt:"-f"` Edit bool `opt:"-e"` NoEdit bool `opt:"-E"` File string `opt:"file" complete:"CompleteFile"` }
func (*Recover) CompleteFile ¶
func (Recover) Context ¶
func (Recover) Context() commands.CommandContext
type RemoveDir ¶
type RemoveDir struct {
Force bool `opt:"-f"`
}
func (RemoveDir) Context ¶
func (RemoveDir) Context() commands.CommandContext
type SearchFilter ¶
type SearchFilter struct { Read bool `opt:"-r" action:"ParseRead"` Unread bool `opt:"-u" action:"ParseUnread"` Body bool `opt:"-b"` All bool `opt:"-a"` Headers textproto.MIMEHeader `opt:"-H" action:"ParseHeader" metavar:"<header>:<value>"` WithFlags models.Flags `opt:"-x" action:"ParseFlag" complete:"CompleteFlag"` WithoutFlags models.Flags `opt:"-X" action:"ParseNotFlag" complete:"CompleteFlag"` To []string `opt:"-t" action:"ParseTo" complete:"CompleteAddress"` From []string `opt:"-f" action:"ParseFrom" complete:"CompleteAddress"` Cc []string `opt:"-c" action:"ParseCc" complete:"CompleteAddress"` StartDate time.Time `opt:"-d" action:"ParseDate" complete:"CompleteDate"` EndDate time.Time Terms string `opt:"..." required:"false" complete:"CompleteNotmuch"` }
func (SearchFilter) Aliases ¶
func (SearchFilter) Aliases() []string
func (*SearchFilter) CompleteAddress ¶
func (*SearchFilter) CompleteAddress(arg string) []string
func (*SearchFilter) CompleteDate ¶
func (*SearchFilter) CompleteDate(arg string) []string
func (*SearchFilter) CompleteFlag ¶
func (*SearchFilter) CompleteFlag(arg string) []string
func (*SearchFilter) CompleteNotmuch ¶
func (*SearchFilter) CompleteNotmuch(arg string) []string
func (SearchFilter) Context ¶
func (SearchFilter) Context() commands.CommandContext
func (SearchFilter) Execute ¶
func (s SearchFilter) Execute(args []string) error
func (*SearchFilter) ParseCc ¶
func (s *SearchFilter) ParseCc(arg string) error
func (*SearchFilter) ParseDate ¶
func (s *SearchFilter) ParseDate(arg string) error
func (*SearchFilter) ParseFlag ¶
func (s *SearchFilter) ParseFlag(arg string) error
func (*SearchFilter) ParseFrom ¶
func (s *SearchFilter) ParseFrom(arg string) error
func (*SearchFilter) ParseHeader ¶
func (s *SearchFilter) ParseHeader(arg string) error
func (*SearchFilter) ParseNotFlag ¶
func (s *SearchFilter) ParseNotFlag(arg string) error
func (*SearchFilter) ParseRead ¶
func (s *SearchFilter) ParseRead(arg string) error
func (*SearchFilter) ParseTo ¶
func (s *SearchFilter) ParseTo(arg string) error
func (*SearchFilter) ParseUnread ¶
func (s *SearchFilter) ParseUnread(arg string) error
type SelectMessage ¶
type SelectMessage struct {
Index int `opt:"n"`
}
func (SelectMessage) Aliases ¶
func (SelectMessage) Aliases() []string
func (SelectMessage) Context ¶
func (SelectMessage) Context() commands.CommandContext
func (SelectMessage) Execute ¶
func (s SelectMessage) Execute(args []string) error
type Sort ¶
type Sort struct { Unused struct{} `opt:"-"` // these fields are only used for completion Reverse bool `opt:"-r"` Criteria []string `opt:"criteria" complete:"CompleteCriteria"` }
func (*Sort) CompleteCriteria ¶
func (Sort) Context ¶
func (Sort) Context() commands.CommandContext
type ViewMessage ¶
type ViewMessage struct {
Peek bool `opt:"-p"`
}
func (ViewMessage) Aliases ¶
func (ViewMessage) Aliases() []string
func (ViewMessage) Context ¶
func (ViewMessage) Context() commands.CommandContext
func (ViewMessage) Execute ¶
func (v ViewMessage) Execute(args []string) error
Click to show internal directories.
Click to hide internal directories.