MCPcopy Index your code
hub / github.com/nikivdev/go / runOpenMetrics

Function runOpenMetrics

cli/flow/main.go:1674–1681  ·  view source on GitHub ↗
(ctx *snap.Context)

Source from the content-addressed store, hash-verified

1672}
1673
1674func runOpenMetrics(ctx *snap.Context) error {
1675 if ctx.NArgs() != 0 {
1676 fmt.Fprintf(ctx.Stderr(), "Usage: %s openMetrics\n", commandName)
1677 return fmt.Errorf("expected 0 arguments, got %d", ctx.NArgs())
1678 }
1679
1680 return openDoc(ctx, docSpecs["metrics"])
1681}
1682
1683func runOpenLog(ctx *snap.Context) error {
1684 if ctx.NArgs() != 0 {

Callers 1

mainFunction · 0.85

Calls 1

openDocFunction · 0.85

Tested by

no test coverage detected