mirror of https://github.com/docker/cli.git
099d4baeed
With this patch, completion is provided for `--platform` flags:
docker pull --platform<TAB>
linux linux/amd64 linux/arm/v5 linux/arm/v7 linux/arm64/v8 linux/riscv64 wasip1 windows
linux/386 linux/arm linux/arm/v6 linux/arm64 linux/ppc64le linux/s390x wasip1/wasm windows/amd64
Note that `docker buildx build` (with BuildKit) does not yet provide completion;
it's provided through buildx, and uses a different format (accepting multiple
comma-separated platforms). Interestingly, tab-completion for `docker build`
currently uses completion for non-buildkit, and has some other issues that may
have to be looked into.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit
|
||
---|---|---|
.. | ||
build | ||
testdata | ||
build.go | ||
build_test.go | ||
client_test.go | ||
cmd.go | ||
formatter_history.go | ||
formatter_history_test.go | ||
history.go | ||
history_test.go | ||
import.go | ||
import_test.go | ||
inspect.go | ||
inspect_test.go | ||
list.go | ||
list_test.go | ||
load.go | ||
load_test.go | ||
prune.go | ||
prune_test.go | ||
pull.go | ||
pull_test.go | ||
push.go | ||
push_test.go | ||
remove.go | ||
remove_test.go | ||
save.go | ||
save_test.go | ||
tag.go | ||
tag_test.go | ||
tree.go | ||
trust.go | ||
trust_test.go |