Files
docker-cli/cli/command/image
Sebastiaan van Stijn 099d4baeed cli/command/image: add shell completion for --platform flags
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 d42cf96e15)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-10-17 23:10:59 +02:00
..
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-08-16 19:40:26 +02:00
2024-07-19 13:37:27 +02:00
2023-12-12 22:30:16 +01:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2023-12-12 22:30:16 +01:00
2024-07-19 13:37:27 +02:00
2023-12-12 22:30:16 +01:00