cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute is starting the execution of the notmuch2maildir.

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.

Jump to

Keyboard shortcuts

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