MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / PersistentPreRunEFn

Function PersistentPreRunEFn

server/util.go:49–75  ·  view source on GitHub ↗

___________________________________________________________________________________ PersistentPreRunEFn returns a PersistentPreRunE function for cobra that initailizes the passed in context with a properly configured logger and config object.

(context *Context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

interceptLoadConfigFunction · 0.85
validateConfigFunction · 0.85
NameMethod · 0.65

Tested by

no test coverage detected