cli

package
v0.0.0-...-cde1c88 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(config *Config) error

Types

type Config

type Config struct {
	WebDAV    storage.WebdavConfig      `yaml:"webdav"`
	Processor processor.ProcessorConfig `yaml:"processor"`
	Maildir   maildir.MaildirConfig     `yaml:"maildir"`
	Stdin     StdinConfig               `yaml:"stdin"`

	ProcessReplies bool
	URL            string
	User           string
	Pass           string
	Calendar       string
	MaildirPath    string
	Verbose        bool
}

Config contains all the CLI configuration options

func ParseFlags

func ParseFlags() *Config

type StdinConfig

type StdinConfig struct {
	Enabled bool `yaml:"enabled"`
}

Jump to

Keyboard shortcuts

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