MCPcopy
hub / github.com/cli/cli / Set

Method Set

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

Set provides primitive access for setting configuration values, optionally scoped by host.

(hostname string, key string, value string)

Source from the content-addressed store, hash-verified

34 GetOrDefault(hostname string, key string) o.Option[ConfigEntry]
35 // Set provides primitive access for setting configuration values, optionally scoped by host.
36 Set(hostname string, key string, value string)
37
38 // AccessibleColors returns the configured accessible_colors setting, optionally scoped by host.
39 AccessibleColors(hostname string) ConfigEntry

Callers 15

TestRecordTelemetryFunction · 0.65
Test_IsAuthCheckEnabledFunction · 0.65
searchMethod · 0.65
URLMethod · 0.65
TestSSOURLFunction · 0.65
defaultConfigFunction · 0.65
uploadAssetFunction · 0.65
getTagsFunction · 0.65
generateReleaseNotesFunction · 0.65
createReleaseFunction · 0.65
downloadAssetFunction · 0.65
editReleaseFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 15

TestRecordTelemetryFunction · 0.52
Test_IsAuthCheckEnabledFunction · 0.52
TestSSOURLFunction · 0.52
defaultConfigFunction · 0.52
setupMockOAuthConfigFunction · 0.52
TestNewCmdAgentTaskFunction · 0.52
TestRepoForkFunction · 0.52
Test_getRunFunction · 0.52
Test_listRunFunction · 0.52