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

Method GetValue

flag.go:131–131  ·  view source on GitHub ↗

GetValue returns the flags value as string representation and an empty string if the flag takes no value at all.

()

Source from the content-addressed store, hash-verified

129 // GetValue returns the flags value as string representation and an empty
130 // string if the flag takes no value at all.
131 GetValue() string
132
133 // GetDefaultText returns the default text for this flag
134 GetDefaultText() string

Callers 2

TestDocGetValueFunction · 0.65
stringifyFlagFunction · 0.65

Implementers 1

BoolWithInverseFlagflag_bool_with_inverse.go

Calls

no outgoing calls

Tested by 1

TestDocGetValueFunction · 0.52