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

Function unmarkTemplateArgs

pkg/cmd/project/mark-template/mark_template.go:141–151  ·  view source on GitHub ↗
(config markTemplateConfig)

Source from the content-addressed store, hash-verified

139}
140
141func unmarkTemplateArgs(config markTemplateConfig) (*unmarkProjectTemplateMutation, map[string]interface{}) {
142 return &unmarkProjectTemplateMutation{}, map[string]interface{}{
143 "input": githubv4.UnmarkProjectV2AsTemplateInput{
144 ProjectID: githubv4.ID(config.opts.projectID),
145 },
146 "firstItems": githubv4.Int(0),
147 "afterItems": (*githubv4.String)(nil),
148 "firstFields": githubv4.Int(0),
149 "afterFields": (*githubv4.String)(nil),
150 }
151}
152
153func printResults(config markTemplateConfig, project queries.ProjectMutationQuery) error {
154 if !config.io.IsStdoutTTY() {

Callers 1

runMarkTemplateFunction · 0.85

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…