command

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName = "image-vault"
	Version = "0.2.0"
)
View Source
const (
	DefaultConfigFile = AppName + ".yaml"
)

Variables

This section is empty.

Functions

func GetImportCmd added in v0.0.5

func GetImportCmd() *cobra.Command

func GetInfoCmd

func GetInfoCmd() *cobra.Command

func GetInitCmd

func GetInitCmd() *cobra.Command

func GetRootCommand

func GetRootCommand() *cobra.Command

func GetVerifyCmd

func GetVerifyCmd() *cobra.Command

func GetVersionCmd

func GetVersionCmd() *cobra.Command

func ProcessFiles added in v0.0.5

func ProcessFiles(cmd *cobra.Command, cfgPath, sourceDir, targetDir string, action Action) error

Types

type Action added in v0.0.5

type Action func(log func(string, ...any), source, target string, isPrimary bool) (actionTaken bool, err error)

Jump to

Keyboard shortcuts

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