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

Function deleteItemArgs

pkg/cmd/project/delete/delete.go:106–116  ·  view source on GitHub ↗
(config deleteConfig)

Source from the content-addressed store, hash-verified

104}
105
106func deleteItemArgs(config deleteConfig) (*deleteProjectMutation, map[string]interface{}) {
107 return &deleteProjectMutation{}, map[string]interface{}{
108 "input": githubv4.DeleteProjectV2Input{
109 ProjectID: githubv4.ID(config.opts.projectID),
110 },
111 "firstItems": githubv4.Int(0),
112 "afterItems": (*githubv4.String)(nil),
113 "firstFields": githubv4.Int(0),
114 "afterFields": (*githubv4.String)(nil),
115 }
116}
117
118func printResults(config deleteConfig, project queries.ProjectMutationQuery) error {
119 if !config.io.IsStdoutTTY() {

Callers 1

runDeleteFunction · 0.70

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected