MCPcopy
hub / github.com/cli/cli / Println

Method Println

pkg/cmd/attestation/io/handler.go:45–50  ·  view source on GitHub ↗

Println writes the arguments to the stderr writer with a newline at the end.

(v ...interface{})

Source from the content-addressed store, hash-verified

43
44// Println writes the arguments to the stderr writer with a newline at the end.
45func (h *Handler) Println(v ...interface{}) (int, error) {
46 if !h.IO.IsStdoutTTY() {
47 return 0, nil
48 }
49 return fmt.Fprintln(h.IO.ErrOut, v...)
50}
51
52func (h *Handler) OutPrintln(v ...interface{}) (int, error) {
53 return fmt.Fprintln(h.IO.Out, v...)

Callers 15

announceFunction · 0.80
drawGardenFunction · 0.80
getTrustedRootFunction · 0.80
runVerifyFunction · 0.80
toggleSelectedMethod · 0.80
ExtBrowseFunction · 0.80
ExampleOption_UnwrapFunction · 0.80
ExampleOption_UnwrapOrFunction · 0.80
ExampleOption_IsSomeFunction · 0.80
ExampleOption_IsNoneFunction · 0.80

Calls 1

IsStdoutTTYMethod · 0.80

Tested by 9

ExampleOption_UnwrapFunction · 0.64
ExampleOption_UnwrapOrFunction · 0.64
ExampleOption_IsSomeFunction · 0.64
ExampleOption_IsNoneFunction · 0.64
ExampleOption_ValueFunction · 0.64
ExampleOption_ExpectFunction · 0.64
ExampleMapFunction · 0.64