Skip to content

Commit daf99dd

Browse files
authored
Merge pull request #3972 from thaJeztah/embed_streams
cli/command: embed "Streams" interface in "Cli"
2 parents 613ab8b + 74973ad commit daf99dd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cli/command/cli.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ type Streams interface {
4848
// Cli represents the docker command line client.
4949
type Cli interface {
5050
Client() client.APIClient
51-
Out() *streams.Out
52-
Err() io.Writer
53-
In() *streams.In
51+
Streams
5452
SetIn(in *streams.In)
5553
Apply(ops ...DockerCliOption) error
5654
ConfigFile() *configfile.ConfigFile

0 commit comments

Comments
 (0)