cmd

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(c letterbox.Info)

Execute the root command.

Types

type SMTPCLIConfig

type SMTPCLIConfig struct {
	From       string `json:"from,omitempty"`
	To         string `json:"to,omitempty"`
	Message    string `json:"message,omitempty"`
	Server     string `json:"server,omitempty"`
	DisableTLS bool   `json:"disable_tls,omitempty"`
	STARTTLS   bool   `json:"starttls,omitempty"`
	Insecure   bool   `json:"insecure,omitempty"`
}

func SMTPCLIFlags

func SMTPCLIFlags(cmd *cobra.Command) *SMTPCLIConfig

func (*SMTPCLIConfig) Validate

func (c *SMTPCLIConfig) Validate() error

Jump to

Keyboard shortcuts

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