MCPcopy
hub / github.com/cli/cli / printResults

Function printResults

pkg/cmd/project/field-create/field_create.go:145–152  ·  view source on GitHub ↗
(config createFieldConfig, field queries.ProjectField)

Source from the content-addressed store, hash-verified

143}
144
145func printResults(config createFieldConfig, field queries.ProjectField) error {
146 if !config.io.IsStdoutTTY() {
147 return nil
148 }
149
150 _, err := fmt.Fprintf(config.io.Out, "Created field\n")
151 return err
152}

Callers 1

runCreateFieldFunction · 0.70

Calls 1

IsStdoutTTYMethod · 0.80

Tested by

no test coverage detected