Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApplicationOptions ¶
type ApplicationOptions struct { Debug bool `long:"debug" description:"Print debugging output" hidden:"true"` NotmuchConfigFile string `short:"c" long:"notmuch-config" description:"Notmuch configuration file which should be used" default:"~/.notmuch-config"` NotmuchExecutable string `short:"n" long:"notmuch-executable" description:"Notmuch executeable which should be used" default:"notmuch" hidden:"true"` OutputDir string `` /* 155-byte string literal not displayed */ }
ApplicationOptions describes all available options.
type SearchOptions ¶
type SearchOptions struct {
Promt bool `short:"p" long:"promt" description:"Opens a promt to enter the search query"`
}
SearchOptions describes options for the search command.
func (*SearchOptions) Execute ¶
func (cmd *SearchOptions) Execute(args []string) error
Execute the search command.
func (*SearchOptions) Usage ¶
func (cmd *SearchOptions) Usage() string
Usage is improving the usage section for the search command.
type ThreadOptions ¶
type ThreadOptions struct {
MsgID string `short:"m" long:"message-id" description:"The message-id of the source mail"`
}
ThreadOptions describes options for the thread command.
func (*ThreadOptions) Execute ¶
func (cmd *ThreadOptions) Execute(args []string) error
Execute the thread command.
func (*ThreadOptions) Usage ¶
func (cmd *ThreadOptions) Usage() string
Usage is improving the usage section for the thread command.
type VersionOptions ¶
type VersionOptions struct{}
VersionOptions is an empty struct.
func (*VersionOptions) Execute ¶
func (cmd *VersionOptions) Execute(args []string) error
Execute the version command.
Click to show internal directories.
Click to hide internal directories.