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

Function createArgs

pkg/cmd/project/create/create.go:94–105  ·  view source on GitHub ↗
(config createConfig)

Source from the content-addressed store, hash-verified

92}
93
94func createArgs(config createConfig) (*createProjectMutation, map[string]interface{}) {
95 return &createProjectMutation{}, map[string]interface{}{
96 "input": githubv4.CreateProjectV2Input{
97 OwnerID: githubv4.ID(config.opts.ownerID),
98 Title: githubv4.String(config.opts.title),
99 },
100 "firstItems": githubv4.Int(0),
101 "afterItems": (*githubv4.String)(nil),
102 "firstFields": githubv4.Int(0),
103 "afterFields": (*githubv4.String)(nil),
104 }
105}
106
107func printResults(config createConfig, project queries.ProjectMutationQuery) error {
108 if !config.io.IsStdoutTTY() {

Callers 1

runCreateFunction · 0.85

Calls 2

IDMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected