MCPcopy Create free account
hub / github.com/openclaw/gogcli / commandConfigStore

Function commandConfigStore

internal/cmd/config_cmd.go:216–224  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

214}
215
216func commandConfigStore(ctx context.Context) (*config.ConfigStore, error) {
217 if runtime, ok := app.FromContext(ctx); ok {
218 if err := configureRuntimeConfig(runtime); err != nil {
219 return nil, err
220 }
221 return runtime.Config, nil
222 }
223 return nil, errRuntimeRequired
224}

Callers 15

RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
readConfigOptionalFunction · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85

Calls 2

FromContextFunction · 0.92
configureRuntimeConfigFunction · 0.85