Documentation ¶
Overview ¶
Package clienv supports adding env variables automatically into github.com/urfave/cli flags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEnvVar ¶
func AddEnvVar(flag cli.Flag, prefix string)
AddEnvVar sets f.EnvVar given that flag is has type.
func AddEnvVars ¶
func AddEnvVars(app *cli.App, prefix string)
AddEnvVars creates EnvVars slice for each flag in app.
func NamesToEnv ¶
NameToEnv creates new slice with matching env style names.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.