MCPcopy
hub / github.com/cli/cli / SetColorEnabled

Method SetColorEnabled

pkg/iostreams/iostreams.go:141–144  ·  view source on GitHub ↗
(colorEnabled bool)

Source from the content-addressed store, hash-verified

139}
140
141func (s *IOStreams) SetColorEnabled(colorEnabled bool) {
142 s.colorOverride = true
143 s.colorEnabled = colorEnabled
144}
145
146func (s *IOStreams) SetColorLabels(colorLabels bool) {
147 s.colorLabels = colorLabels

Callers 3

Test_listRunFunction · 0.80
Test_NewCmdDiffFunction · 0.80

Calls

no outgoing calls

Tested by 3

Test_listRunFunction · 0.64
Test_NewCmdDiffFunction · 0.64