MCPcopy
hub / github.com/urfave/cli / GetEnvVars

Method GetEnvVars

flag_bool_with_inverse.go:243–245  ·  view source on GitHub ↗

GetEnvVars returns the env vars for this flag

()

Source from the content-addressed store, hash-verified

241
242// GetEnvVars returns the env vars for this flag
243func (bif *BoolWithInverseFlag) GetEnvVars() []string {
244 return bif.Sources.EnvKeys()
245}
246
247// GetValue returns the flags value as string representation and an empty
248// string if the flag takes no value at all.

Callers

nothing calls this directly

Calls 1

EnvKeysMethod · 0.80

Tested by

no test coverage detected