Skip to content

Commit 74973ad

Browse files
committed
cli/command: embed "Streams" interface in "Cli"
The DockerCLI interface was repeating the Streams interface. Embed the interface to make it more transparent that they're the same. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent d0a4b6f commit 74973ad

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

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)