cmd

package
v0.0.0-...-160a1fa Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// BuildInfo contains the Volback build informations (filled by main.go at build time)
	BuildInfo utils.BuildInfo
)
View Source
var RootCmd = &cobra.Command{
	Use: "volback",
}

RootCmd is a global variable which will handle all subcommands

Functions

func Execute

func Execute(buildInfo utils.BuildInfo)

Execute is the main thread, required by Cobra

func SetValuesFromEnv

func SetValuesFromEnv(envs map[string]string, flags *pflag.FlagSet)

SetValuesFromEnv assigns values to Cobra variables from environment variables

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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