cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "1.0.0"
)

Variables

View Source
var (
	LogFile = "$HOME/.dphoto/logs/dphoto.log"

	Owner string // Owner source of truce is viper config, for convenience, other commands can get it from here.
)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func VolumeTypeFromPath

func VolumeTypeFromPath(arg string) backupmodel.VolumeType

Types

type OutputParam

type OutputParam struct {
	Value string `yaml:"value"`
}

Directories

Path Synopsis
adapters
Package printer display in standard output simple info/success/error messages
Package printer display in standard output simple info/success/error messages
Package screen provides building blocks to represent progress bars.
Package screen provides building blocks to represent progress bars.

Jump to

Keyboard shortcuts

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