cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(cmd *cobra.Command) error

func RootCmd

func RootCmd(fileIo FileIoer, contactClean ContactCleaner) (rootCmd *cobra.Command)

Types

type CommandError added in v0.3.0

type CommandError struct {
	Msg string
}

func (CommandError) Error added in v0.3.0

func (err CommandError) Error() string

type ContactCleaner added in v0.3.0

type ContactCleaner interface {
	ContactClean(afero.Fs, string, string) error
}

type FileIoer added in v0.3.0

type FileIoer interface {
	GetOutputFileName(afero.Fs, string) (string, error)
}

Jump to

Keyboard shortcuts

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