MCPcopy Create free account
hub / github.com/cli/cli / buildClearItem

Function buildClearItem

pkg/cmd/project/item-edit/item_edit.go:400–408  ·  view source on GitHub ↗
(config editItemConfig)

Source from the content-addressed store, hash-verified

398}
399
400func buildClearItem(config editItemConfig) (*ClearProjectV2FieldValue, map[string]any) {
401 return &ClearProjectV2FieldValue{}, map[string]any{
402 "input": githubv4.ClearProjectV2ItemFieldValueInput{
403 ProjectID: githubv4.ID(config.opts.projectID),
404 ItemID: githubv4.ID(config.opts.itemID),
405 FieldID: githubv4.ID(config.opts.fieldID),
406 },
407 }
408}
409
410func printDraftIssueResults(config editItemConfig, item queries.DraftIssue) error {
411 if !config.io.IsStdoutTTY() {

Callers 1

clearItemFieldValueFunction · 0.85

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected