Skip to content

fix file completion for image load input - #7403

Open
cra wants to merge 1 commit into
docker:masterfrom
cra:7402-load-input-completion
Open

cra wants to merge 1 commit into
docker:masterfrom
cra:7402-load-input-completion

Conversation

@cra

@cra cra commented Oct 17, 2026

Copy link
Copy Markdown

Summary

Adds file completion for --input / -i in both docker load and docker image lad. CLI disables file completion by default so the input flag had no completion handler. Registers completion.FileNames() to let the shell complete file paths.

Added regression test using __complete with same restrictive completion directive as root command.

A picture of a cute animal (not mandatory but encouraged)

image

Signed-off-by: Igor Mosyagin <408698+cra@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

filename completion on docker load -i

1 participant