cobrautil

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindAll

func BindAll(cmd *cobra.Command, envPrefix, configFileFlagName string) error

BindAll updates the given command flags with values from the environment variables and config file. The supported formats are: JSON, YAML, TOML, HCL, and Java properties. The file format is determined by the file extension, if not specified the default format is YAML. The following precedence order of configuration sources is used: command flags, environment variables, config file, default values.

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