| 104 | } |
| 105 | |
| 106 | func 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 | |
| 118 | func printResults(config deleteConfig, project queries.ProjectMutationQuery) error { |
| 119 | if !config.io.IsStdoutTTY() { |