cmd

package
Version: v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvironmentVariablePrefix = "OTS_"
)

Variables

This section is empty.

Functions

func CatchCtrlC

func CatchCtrlC(cancel context.CancelFunc)

func SetFlagsFromEnvVariables

func SetFlagsFromEnvVariables(fs *pflag.FlagSet)

Each flag can also be set with an env variable whose name starts with `OTS_`.

func UnsetEtokVars

func UnsetEtokVars()

Unset env vars prefixed with `OTS_`

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