MCPcopy Index your code
hub / github.com/cli/cli / printResults

Function printResults

pkg/cmd/project/copy/copy.go:137–143  ·  view source on GitHub ↗
(config copyConfig, project queries.ProjectMutationQuery)

Source from the content-addressed store, hash-verified

135}
136
137func printResults(config copyConfig, project queries.ProjectMutationQuery) error {
138 if !config.io.IsStdoutTTY() {
139 return nil
140 }
141 _, err := fmt.Fprintf(config.io.Out, "%s\n", project.URL)
142 return err
143}

Callers 1

runCopyFunction · 0.70

Calls 1

IsStdoutTTYMethod · 0.80

Tested by

no test coverage detected