MCPcopy Create free account
hub / github.com/compozy/agh / providerAuthRuntime

Function providerAuthRuntime

internal/cli/provider.go:195–204  ·  view source on GitHub ↗
(deps commandDeps)

Source from the content-addressed store, hash-verified

193}
194
195func providerAuthRuntime(deps commandDeps) (*runtimeContext, error) {
196 runtime, err := loadRuntimeContext(deps)
197 if err != nil {
198 return nil, err
199 }
200 if err := deps.ensureHome(runtime.HomePaths); err != nil {
201 return nil, err
202 }
203 return runtime, nil
204}
205
206func runProviderAuthLoginCommand(
207 cmd *cobra.Command,

Callers 2

Calls 1

loadRuntimeContextFunction · 0.85

Tested by

no test coverage detected