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

Function printResults

pkg/cmd/project/edit/edit.go:147–154  ·  view source on GitHub ↗
(config editConfig, project queries.ProjectMutationQuery)

Source from the content-addressed store, hash-verified

145}
146
147func printResults(config editConfig, project queries.ProjectMutationQuery) error {
148 if !config.io.IsStdoutTTY() {
149 return nil
150 }
151
152 _, err := fmt.Fprintf(config.io.Out, "%s\n", project.URL)
153 return err
154}

Callers 1

runEditFunction · 0.70

Calls 1

IsStdoutTTYMethod · 0.80

Tested by

no test coverage detected