github.com/itscaro/cli@v0.0.0-20190705081621-c9db0fe93829/cli/command/streams.go (about)

     1  package command
     2  
     3  import (
     4  	"github.com/docker/cli/cli/streams"
     5  )
     6  
     7  // InStream is an input stream used by the DockerCli to read user input
     8  // Deprecated: Use github.com/docker/cli/cli/streams.In instead
     9  type InStream = streams.In
    10  
    11  // OutStream is an output stream used by the DockerCli to write normal program
    12  // output.
    13  // Deprecated: Use github.com/docker/cli/cli/streams.Out instead
    14  type OutStream = streams.Out
    15  
    16  var (
    17  	// NewInStream returns a new InStream object from a ReadCloser
    18  	// Deprecated: Use github.com/docker/cli/cli/streams.NewIn instead
    19  	NewInStream = streams.NewIn
    20  	// NewOutStream returns a new OutStream object from a Writer
    21  	// Deprecated: Use github.com/docker/cli/cli/streams.NewOut instead
    22  	NewOutStream = streams.NewOut
    23  )