MCPcopy
hub / github.com/cli/cli / printJSON

Function printJSON

pkg/cmd/project/item-delete/item_delete.go:128–133  ·  view source on GitHub ↗
(config deleteItemConfig, id githubv4.ID)

Source from the content-addressed store, hash-verified

126}
127
128func printJSON(config deleteItemConfig, id githubv4.ID) error {
129 m := map[string]interface{}{
130 "id": id,
131 }
132 return config.opts.exporter.Write(config.io, m)
133}

Callers 1

runDeleteItemFunction · 0.85

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected