MCPcopy
hub / github.com/cli/cli / markTemplateArgs

Function markTemplateArgs

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

Source from the content-addressed store, hash-verified

127}
128
129func markTemplateArgs(config markTemplateConfig) (*markProjectTemplateMutation, map[string]interface{}) {
130 return &markProjectTemplateMutation{}, map[string]interface{}{
131 "input": githubv4.MarkProjectV2AsTemplateInput{
132 ProjectID: githubv4.ID(config.opts.projectID),
133 },
134 "firstItems": githubv4.Int(0),
135 "afterItems": (*githubv4.String)(nil),
136 "firstFields": githubv4.Int(0),
137 "afterFields": (*githubv4.String)(nil),
138 }
139}
140
141func unmarkTemplateArgs(config markTemplateConfig) (*unmarkProjectTemplateMutation, map[string]interface{}) {
142 return &unmarkProjectTemplateMutation{}, map[string]interface{}{

Callers 1

runMarkTemplateFunction · 0.85

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected