MCPcopy Create free account
hub / github.com/cli/cli / Set

Method Set

pkg/cmdutil/flags.go:104–108  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

102}
103
104func (b *boolValue) Set(value string) error {
105 v, err := strconv.ParseBool(value)
106 *b.bool = &v
107 return err
108}
109
110func (b *boolValue) String() string {
111 if b.bool == nil || *b.bool == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected