cmd

package
v0.0.0-...-d53aa39 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(src, dest string, info os.FileInfo) error

func CopyDirectory

func CopyDirectory(src, dest string, info os.FileInfo) error

func CopyFile

func CopyFile(src, dest string, info os.FileInfo) error

func CreateWorkbench

func CreateWorkbench(Workspace string) string

func Execute

func Execute()

func ImportPhotos

func ImportPhotos(importPath, workbench string) error

func SetupWorkbench

func SetupWorkbench(workbench string, colDirs []string)

func SortbyType

func SortbyType(dest string) string

Sort while copying or sort after copy operation?

Types

type Config

type Config struct {
	ImportPath     string   `yaml:"import_path"`
	Workspace      string   `yaml:"workspace"`
	CollectionDirs []string `yaml:"collection_dirs"`
}

func (*Config) ParseConfig

func (config *Config) ParseConfig(data []byte) error

Jump to

Keyboard shortcuts

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