MCPcopy Create free account
hub / github.com/github/gh-aw / getDefaultGHHost

Function getDefaultGHHost

pkg/workflow/github_cli.go:33–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33func getDefaultGHHost() string {
34 defaultGHHost.mu.RLock()
35 defer defaultGHHost.mu.RUnlock()
36 return defaultGHHost.host
37}
38
39// setupGHCommand creates an exec.Cmd for gh CLI with proper token configuration.
40// This is the core implementation shared by ExecGH and ExecGHContext.

Calls

no outgoing calls