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) Context() commands.CommandContext
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) Context ¶
func (Open) Context() commands.CommandContext
func (Open) Description ¶
type OpenLink ¶
type OpenLink struct { Url *url.URL `opt:"url" action:"ParseUrl" complete:"CompleteUrl"` Cmd string `opt:"..." required:"false"` }
func (*OpenLink) CompleteUrl ¶
func (OpenLink) Context ¶
func (OpenLink) Context() commands.CommandContext
func (OpenLink) Description ¶
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) CompletePath ¶
func (Save) Context ¶
func (Save) Context() commands.CommandContext
func (Save) Description ¶
type ToggleHeaders ¶
type ToggleHeaders struct{}
func (ToggleHeaders) Aliases ¶
func (ToggleHeaders) Aliases() []string
func (ToggleHeaders) Context ¶
func (ToggleHeaders) Context() commands.CommandContext
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) Context() commands.CommandContext
func (ToggleKeyPassthrough) Description ¶
func (ToggleKeyPassthrough) Description() string
func (ToggleKeyPassthrough) Execute ¶
func (ToggleKeyPassthrough) Execute(args []string) error
Click to show internal directories.
Click to hide internal directories.