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

Function printResults

pkg/cmd/project/close/close.go:126–133  ·  view source on GitHub ↗
(config closeConfig, project queries.ProjectMutationQuery)

Source from the content-addressed store, hash-verified

124}
125
126func printResults(config closeConfig, project queries.ProjectMutationQuery) error {
127 if !config.io.IsStdoutTTY() {
128 return nil
129 }
130
131 _, err := fmt.Fprintf(config.io.Out, "%s\n", project.URL)
132 return err
133}

Callers 1

runCloseFunction · 0.70

Calls 1

IsStdoutTTYMethod · 0.80

Tested by

no test coverage detected