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

Function printResults

pkg/cmd/project/item-create/item_create.go:122–129  ·  view source on GitHub ↗
(config createItemConfig, item queries.ProjectItem)

Source from the content-addressed store, hash-verified

120}
121
122func printResults(config createItemConfig, item queries.ProjectItem) error {
123 if !config.io.IsStdoutTTY() {
124 return nil
125 }
126
127 _, err := fmt.Fprintf(config.io.Out, "Created item\n")
128 return err
129}

Callers 1

runCreateItemFunction · 0.70

Calls 1

IsStdoutTTYMethod · 0.80

Tested by

no test coverage detected