MCPcopy Index your code
hub / github.com/jetify-com/devbox / cmdContext

Method cmdContext

internal/telemetry/telemetry.go:217–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215}
216
217func (m *Metadata) cmdContext() map[string]any {
218 sentryCtx := map[string]any{}
219 if m.Command != "" {
220 sentryCtx["Name"] = m.Command
221 }
222 if len(m.CommandFlags) > 0 {
223 sentryCtx["Flags"] = m.CommandFlags
224 }
225 return sentryCtx
226}
227
228func (m *Metadata) envContext() map[string]any {
229 sentryCtx := map[string]any{

Callers 1

ErrorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected