compose

package
v0.0.0-...-c2048ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 28 Imported by: 0

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) Aliases

func (Abort) Aliases() []string

func (Abort) Context

func (Abort) Context() commands.CommandContext

func (Abort) Description

func (Abort) Description() string

func (Abort) Execute

func (Abort) Execute(args []string) error

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) Aliases

func (Attach) Aliases() []string

func (*Attach) CompletePath

func (*Attach) CompletePath(arg string) []string

func (Attach) Context

func (Attach) Context() commands.CommandContext

func (Attach) Description

func (Attach) Description() string

func (Attach) Execute

func (a Attach) Execute(args []string) error

type AttachKey

type AttachKey struct{}

func (AttachKey) Aliases

func (AttachKey) Aliases() []string

func (AttachKey) Context

func (AttachKey) Context() commands.CommandContext

func (AttachKey) Description

func (AttachKey) Description() string

func (AttachKey) Execute

func (AttachKey) Execute(args []string) error

type CC

type CC struct {
	Recipients string `opt:"recipients" complete:"CompleteAddress" desc:"Recipient from address book."`
}

func (CC) Aliases

func (CC) Aliases() []string

func (*CC) CompleteAddress

func (*CC) CompleteAddress(arg string) []string

func (CC) Context

func (CC) Context() commands.CommandContext

func (CC) Description

func (CC) Description() string

func (CC) Execute

func (c CC) Execute(args []string) error

type Detach

type Detach struct {
	Path string `opt:"path" required:"false" complete:"CompletePath" desc:"Attachment file path."`
}

func (Detach) Aliases

func (Detach) Aliases() []string

func (*Detach) CompletePath

func (*Detach) CompletePath(arg string) []string

func (Detach) Context

func (Detach) Context() commands.CommandContext

func (Detach) Description

func (Detach) Description() string

func (Detach) Execute

func (d Detach) Execute(args []string) error

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) Aliases

func (Edit) Aliases() []string

func (Edit) Context

func (Edit) Context() commands.CommandContext

func (Edit) Description

func (Edit) Description() string

func (Edit) Execute

func (e Edit) Execute(args []string) error

type Encrypt

type Encrypt struct{}

func (Encrypt) Aliases

func (Encrypt) Aliases() []string

func (Encrypt) Context

func (Encrypt) Context() commands.CommandContext

func (Encrypt) Description

func (Encrypt) Description() string

func (Encrypt) Execute

func (Encrypt) Execute(args []string) error
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) Aliases

func (Header) Aliases() []string

func (*Header) CompleteHeaders

func (*Header) CompleteHeaders(arg string) []string

func (Header) Context

func (Header) Context() commands.CommandContext

func (Header) Description

func (Header) Description() string

func (Header) Execute

func (h Header) Execute(args []string) error

func (Header) Options

func (Header) Options() string

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) Aliases

func (Multipart) Aliases() []string

func (*Multipart) CompleteMime

func (*Multipart) CompleteMime(arg string) []string

func (Multipart) Context

func (Multipart) Context() commands.CommandContext

func (Multipart) Description

func (Multipart) Description() string

func (Multipart) Execute

func (m Multipart) Execute(args []string) error

type NextPrevField

type NextPrevField struct{}

func (NextPrevField) Aliases

func (NextPrevField) Aliases() []string

func (NextPrevField) Context

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) Aliases

func (Postpone) Aliases() []string

func (*Postpone) CompleteFolder

func (*Postpone) CompleteFolder(arg string) []string

func (Postpone) Context

func (Postpone) Context() commands.CommandContext

func (Postpone) Description

func (Postpone) Description() string

func (Postpone) Execute

func (p Postpone) Execute(args []string) error

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) Aliases

func (Send) Aliases() []string

func (*Send) CompleteArchive

func (*Send) CompleteArchive(arg string) []string

func (*Send) CompleteFolders

func (*Send) CompleteFolders(arg string) []string

func (Send) Context

func (Send) Context() commands.CommandContext

func (Send) Description

func (Send) Description() string

func (Send) Execute

func (s Send) Execute(args []string) error

func (*Send) ParseArchive

func (s *Send) ParseArchive(arg string) error

type Sign

type Sign struct{}

func (Sign) Aliases

func (Sign) Aliases() []string

func (Sign) Context

func (Sign) Context() commands.CommandContext

func (Sign) Description

func (Sign) Description() string

func (Sign) Execute

func (Sign) Execute(args []string) error

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) Description

func (SwitchAccount) Description() string

func (SwitchAccount) Execute

func (s SwitchAccount) Execute(args []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL