Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
128
func
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
runDeleteItem
Function · 0.85
Calls
1
Write
Method · 0.65
Tested by
no test coverage detected