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

Method ColorLabels

internal/gh/gh.go:52–52  ·  view source on GitHub ↗

ColorLabels returns the configured color_label setting, optionally scoped by host.

(hostname string)

Source from the content-addressed store, hash-verified

50 Clipboard() ConfigEntry
51 // ColorLabels returns the configured color_label setting, optionally scoped by host.
52 ColorLabels(hostname string) ConfigEntry
53 // Editor returns the configured editor, optionally scoped by host.
54 Editor(hostname string) ConfigEntry
55 // GitProtocol returns the configured git protocol, optionally scoped by host.

Callers 3

newIOStreamsFunction · 0.65
config.goFile · 0.65

Implementers 2

cfginternal/config/config.go
ConfigMockinternal/gh/mock/config.go

Calls

no outgoing calls

Tested by 1