MCPcopy
hub / github.com/spf13/cobra / OutOrStderr

Method OutOrStderr

command.go:398–400  ·  view source on GitHub ↗

OutOrStderr returns output to stderr

()

Source from the content-addressed store, hash-verified

396
397// OutOrStderr returns output to stderr
398func (c *Command) OutOrStderr() io.Writer {
399 return c.getOut(os.Stderr)
400}
401
402// ErrOrStderr returns output to stderr
403func (c *Command) ErrOrStderr() io.Writer {

Callers 2

UsageFuncMethod · 0.95
PrintMethod · 0.95

Calls 1

getOutMethod · 0.95

Tested by

no test coverage detected