MCPcopy
hub / github.com/cli/cli / buildClearItem

Function buildClearItem

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

Source from the content-addressed store, hash-verified

241}
242
243func buildClearItem(config editItemConfig) (*ClearProjectV2FieldValue, map[string]interface{}) {
244 return &ClearProjectV2FieldValue{}, map[string]interface{}{
245 "input": githubv4.ClearProjectV2ItemFieldValueInput{
246 ProjectID: githubv4.ID(config.opts.projectID),
247 ItemID: githubv4.ID(config.opts.itemID),
248 FieldID: githubv4.ID(config.opts.fieldID),
249 },
250 }
251}
252
253func printDraftIssueResults(config editItemConfig, item queries.DraftIssue) error {
254 if !config.io.IsStdoutTTY() {

Callers 1

clearItemFieldValueFunction · 0.85

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected