internal

package
v0.0.0-...-da614f7 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	// contains filtered or unexported fields
}

Application is the root of the functionality except some infrastructure stuff

func NewApplication

func NewApplication(opts ...Option) (*Application, error)

NewApplication returns the app root

func (*Application) Run

func (app *Application) Run() error

Run executes the application

type Contacts

type Contacts []types.Contact

type Groups

type Groups []types.ContactGroup

type Option

type Option func(application *Application) error

func WithCollectionFile

func WithCollectionFile(file string) Option

func WithDryRun

func WithDryRun(dryRun bool) Option

func WithFileExtension

func WithFileExtension(fileExtension string) Option

func WithMembershipsAsTag

func WithMembershipsAsTag(memberShipsAsTag string) Option

func WithPathForFiles

func WithPathForFiles(pathForFiles string) Option

func WithPathToContacts

func WithPathToContacts(pathToContacts string) Option

func WithPathToGroups

func WithPathToGroups(pathToGroups string) Option

func WithTagPrefix

func WithTagPrefix(prefix string) Option

func WithTemplateDirectory

func WithTemplateDirectory(templateDirectory string) Option

func WithTemplateGroup

func WithTemplateGroup(templateGroup string) Option

func WithVerbose

func WithVerbose(verbose bool) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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