()
| 31 | } |
| 32 | |
| 33 | func 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. |
no outgoing calls