msgview

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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NextPrevPart

type NextPrevPart struct {
	Offset int `opt:"n" default:"1"`
}

func (NextPrevPart) Aliases

func (NextPrevPart) Aliases() []string

func (NextPrevPart) Context

func (NextPrevPart) Description

func (NextPrevPart) Description() string

func (NextPrevPart) Execute

func (np NextPrevPart) Execute(args []string) error

type Open

type Open struct {
	Delete bool   `opt:"-d" desc:"Delete temp file after the opener exits."`
	Cmd    string `opt:"..." required:"false"`
}

func (Open) Aliases

func (Open) Aliases() []string

func (Open) Context

func (Open) Context() commands.CommandContext

func (Open) Description

func (Open) Description() string

func (Open) Execute

func (o Open) Execute(args []string) error
type OpenLink struct {
	Url *url.URL `opt:"url" action:"ParseUrl" complete:"CompleteUrl"`
	Cmd string   `opt:"..." required:"false"`
}

func (OpenLink) Aliases

func (OpenLink) Aliases() []string

func (*OpenLink) CompleteUrl

func (*OpenLink) CompleteUrl(arg string) []string

func (OpenLink) Context

func (OpenLink) Context() commands.CommandContext

func (OpenLink) Description

func (OpenLink) Description() string

func (OpenLink) Execute

func (o OpenLink) Execute(args []string) error

func (*OpenLink) ParseUrl

func (o *OpenLink) ParseUrl(arg string) error

type Save

type Save struct {
	Force          bool   `opt:"-f" desc:"Overwrite destination path."`
	CreateDirs     bool   `opt:"-p" desc:"Create missing directories."`
	Attachments    bool   `opt:"-a" desc:"Save all attachments parts."`
	AllAttachments bool   `opt:"-A" desc:"Save all named parts."`
	Path           string `opt:"path" required:"false" complete:"CompletePath" desc:"Target file path."`
}

func (Save) Aliases

func (Save) Aliases() []string

func (*Save) CompletePath

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

func (Save) Context

func (Save) Context() commands.CommandContext

func (Save) Description

func (Save) Description() string

func (Save) Execute

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

type ToggleHeaders

type ToggleHeaders struct{}

func (ToggleHeaders) Aliases

func (ToggleHeaders) Aliases() []string

func (ToggleHeaders) Context

func (ToggleHeaders) Description

func (ToggleHeaders) Description() string

func (ToggleHeaders) Execute

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

type ToggleKeyPassthrough

type ToggleKeyPassthrough struct{}

func (ToggleKeyPassthrough) Aliases

func (ToggleKeyPassthrough) Aliases() []string

func (ToggleKeyPassthrough) Context

func (ToggleKeyPassthrough) Description

func (ToggleKeyPassthrough) Description() string

func (ToggleKeyPassthrough) Execute

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

Jump to

Keyboard shortcuts

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