MCPcopy Index your code
hub / github.com/cli/cli / deleteFieldArgs

Function deleteFieldArgs

pkg/cmd/project/field-delete/field_delete.go:79–85  ·  view source on GitHub ↗
(config deleteFieldConfig)

Source from the content-addressed store, hash-verified

77}
78
79func deleteFieldArgs(config deleteFieldConfig) (*deleteProjectV2FieldMutation, map[string]interface{}) {
80 return &deleteProjectV2FieldMutation{}, map[string]interface{}{
81 "input": githubv4.DeleteProjectV2FieldInput{
82 FieldID: githubv4.ID(config.opts.fieldID),
83 },
84 }
85}
86
87func printResults(config deleteFieldConfig, field queries.ProjectField) error {
88 if !config.io.IsStdoutTTY() {

Callers 1

runDeleteFieldFunction · 0.85

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected