cmd

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package cmd provides CLI functionality.

Index

Constants

View Source
const (
	EnvironmentVariablePrefix     = "OTF_"
	EnvironmentVariableFileSuffix = "_FILE"
)

Variables

This section is empty.

Functions

func CatchCtrlC

func CatchCtrlC(cancel context.CancelFunc)

func PrintError added in v0.0.12

func PrintError(err error)

func SetFlagsFromEnvVariables

func SetFlagsFromEnvVariables(fs *pflag.FlagSet) (err error)

SetFlagsFromEnvVariables overrides flag values with 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