github.com/ActiveState/cli@v0.0.0-20240508170324-6801f60cd051/internal/testhelpers/outputhelper/outputer.go (about)

     1  package outputhelper
     2  
     3  import (
     4  	"io"
     5  
     6  	"github.com/ActiveState/cli/internal/output"
     7  )
     8  
     9  type TestOutputer struct{}
    10  
    11  func (o *TestOutputer) Type() output.Format                   { return "" }
    12  func (o *TestOutputer) Print(value interface{})               {}
    13  func (o *TestOutputer) Fprint(w io.Writer, value interface{}) {}
    14  func (o *TestOutputer) Error(value interface{})               {}
    15  func (o *TestOutputer) Notice(value interface{})              {}
    16  func (o *TestOutputer) Config() *output.Config                { return nil }