mirror of https://github.com/docker/cli.git
fc6be6ad30
Both the DockerCLI and Cobra Commands provide accessors for Input, Output, and Error streams (usually STDIN, STDOUT, STDERR). While we were already passing DockerCLI's Output to Cobra, we were not doing so for the other streams (and were passing none for plugin commands), potentially resulting in DockerCLI output/input to mean something else than a Cobra Command's intput/output/error. This patch sets them to the same streams when constructing the Cobra command. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
winresources | ||
aliases.go | ||
builder.go | ||
builder_test.go | ||
builder_windows_test.go | ||
completions.go | ||
docker.go | ||
docker_test.go | ||
docker_windows_386.go | ||
docker_windows_amd64.go | ||
docker_windows_arm.go | ||
docker_windows_arm64.go |