cmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExternalFileHandlers []FileHandler

Functions

func Execute

func Execute() error

func ExtBuildCommand

func ExtBuildCommand(oldSys, newSys, oldUser, newUser string) error

func NewBuildCommand

func NewBuildCommand() *cobra.Command

Types

type FileHandler added in v1.3.0

type FileHandler struct {
	IsFileSupported func(path string) bool
	Handle          func(relativeFilePath, oldSysDir, newSysDir, oldUserDir, newUserDir string) error
}

type UnknownFileError added in v1.3.0

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

func (*UnknownFileError) Error added in v1.3.0

func (m *UnknownFileError) Error() string

Jump to

Keyboard shortcuts

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