MCPcopy Index your code
hub / github.com/cloudfoundry/cli / BoolFlag

Struct BoolFlag

cf/flags/bool.go:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import "strconv"
4
5type BoolFlag struct {
6 Name string
7 Value bool
8 Usage string
9 ShortName string
10 Hidden bool
11}
12
13func (f *BoolFlag) Set(v string) {
14 b, _ := strconv.ParseBool(v)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected