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

Function systemKeyringOpenOptions

internal/cmd/runtime.go:59–67  ·  view source on GitHub ↗
(layout config.Layout, store *config.ConfigStore)

Source from the content-addressed store, hash-verified

57}
58
59func systemKeyringOpenOptions(layout config.Layout, store *config.ConfigStore) secrets.OpenOptions {
60 return secrets.OpenOptionsFromLookup(
61 layout,
62 store,
63 os.LookupEnv,
64 goruntime.GOOS,
65 termutil.IsTerminal(os.Stdin),
66 )
67}
68
69func normalizedRuntime(runtime *app.Runtime) *app.Runtime {
70 defaults := newDefaultRuntime()

Callers 2

newDefaultRuntimeFunction · 0.85

Calls 2

OpenOptionsFromLookupFunction · 0.92
IsTerminalFunction · 0.92

Tested by 1