Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Abort ¶
type Abort struct{}
func (Abort) Context ¶
func (Abort) Context() commands.CommandContext
func (Abort) Description ¶
type AccountSwitcher ¶
type AccountSwitcher interface {
SwitchAccount(*app.AccountView) error
}
type Attach ¶
type Attach struct { Menu bool `opt:"-m" desc:"Select files from file-picker-cmd."` Name string `opt:"-r" desc:"<name> <cmd...>: Generate attachment from command output."` Path string `opt:"path" required:"false" complete:"CompletePath" desc:"Attachment file path."` Args string `opt:"..." required:"false"` }
func (*Attach) CompletePath ¶
func (Attach) Context ¶
func (Attach) Context() commands.CommandContext
func (Attach) Description ¶
type AttachKey ¶
type AttachKey struct{}
func (AttachKey) Context ¶
func (AttachKey) Context() commands.CommandContext
func (AttachKey) Description ¶
type CC ¶
type CC struct {
Recipients string `opt:"recipients" complete:"CompleteAddress" desc:"Recipient from address book."`
}
func (*CC) CompleteAddress ¶
func (CC) Context ¶
func (CC) Context() commands.CommandContext
func (CC) Description ¶
type Detach ¶
type Detach struct {
Path string `opt:"path" required:"false" complete:"CompletePath" desc:"Attachment file path."`
}
func (*Detach) CompletePath ¶
func (Detach) Context ¶
func (Detach) Context() commands.CommandContext
func (Detach) Description ¶
type Edit ¶
type Edit struct { Edit bool `opt:"-e" desc:"Force [compose].edit-headers = true."` NoEdit bool `opt:"-E" desc:"Force [compose].edit-headers = false."` }
func (Edit) Context ¶
func (Edit) Context() commands.CommandContext
func (Edit) Description ¶
type Encrypt ¶
type Encrypt struct{}
func (Encrypt) Context ¶
func (Encrypt) Context() commands.CommandContext
func (Encrypt) Description ¶
type Header ¶
type Header struct { Force bool `opt:"-f" desc:"Overwrite any existing header."` Remove bool `opt:"-d" desc:"Remove the header instead of adding it."` Name string `opt:"name" complete:"CompleteHeaders" desc:"Header name."` Value string `opt:"..." required:"false"` }
func (*Header) CompleteHeaders ¶
func (Header) Context ¶
func (Header) Context() commands.CommandContext
func (Header) Description ¶
type Multipart ¶
type Multipart struct { Remove bool `opt:"-d" desc:"Remove the specified mime/type."` Mime string `opt:"mime" metavar:"<mime/type>" complete:"CompleteMime" desc:"MIME/type name."` }
func (*Multipart) CompleteMime ¶
func (Multipart) Context ¶
func (Multipart) Context() commands.CommandContext
func (Multipart) Description ¶
type NextPrevField ¶
type NextPrevField struct{}
func (NextPrevField) Aliases ¶
func (NextPrevField) Aliases() []string
func (NextPrevField) Context ¶
func (NextPrevField) Context() commands.CommandContext
func (NextPrevField) Description ¶
func (NextPrevField) Description() string
func (NextPrevField) Execute ¶
func (NextPrevField) Execute(args []string) error
type Postpone ¶
type Postpone struct {
Folder string `opt:"-t" complete:"CompleteFolder" desc:"Override the target folder."`
}
func (*Postpone) CompleteFolder ¶
func (Postpone) Context ¶
func (Postpone) Context() commands.CommandContext
func (Postpone) Description ¶
type Send ¶
type Send struct { Archive string `` /* 128-byte string literal not displayed */ CopyTo string `opt:"-t" complete:"CompleteFolders" desc:"Override the Copy-To folder."` CopyToReplied bool `opt:"-r" desc:"Save sent message to current folder."` NoCopyToReplied bool `opt:"-R" desc:"Do not save sent message to current folder."` }
func (*Send) CompleteArchive ¶
func (*Send) CompleteFolders ¶
func (Send) Context ¶
func (Send) Context() commands.CommandContext
func (Send) Description ¶
func (*Send) ParseArchive ¶
type Sign ¶
type Sign struct{}
func (Sign) Context ¶
func (Sign) Context() commands.CommandContext
func (Sign) Description ¶
type SwitchAccount ¶
type SwitchAccount struct { Prev bool `opt:"-p" desc:"Switch to previous account."` Next bool `opt:"-n" desc:"Switch to next account."` Account string `opt:"account" required:"false" complete:"CompleteAccount" desc:"Account name."` }
func (SwitchAccount) Aliases ¶
func (SwitchAccount) Aliases() []string
func (*SwitchAccount) CompleteAccount ¶
func (*SwitchAccount) CompleteAccount(arg string) []string
func (SwitchAccount) Context ¶
func (SwitchAccount) Context() commands.CommandContext
func (SwitchAccount) Description ¶
func (SwitchAccount) Description() string
func (SwitchAccount) Execute ¶
func (s SwitchAccount) Execute(args []string) error
Click to show internal directories.
Click to hide internal directories.