Skip to content

Support artifact type auto complete in podman inspect #28671

@nimdrak

Description

@nimdrak

Feature request description

Currently, shell auto-completion partially works for podman inspect --type artifact. The shell successfully completes the word artifact itself.

However, it fails to provide auto-completion suggestions for the actual artifact names/references that follow. When a user types podman inspect --type artifact and presses TAB, no available OCI artifacts are listed.

This is inconsistent with how --type image or --type container behaves, where available local targets are automatically suggested.

Suggest potential solution

Update the shell completion logic to query and list available OCI artifacts when the --type artifact flag is provided.

This will allow users to easily autocomplete the names of their stored artifacts just like they do with images and containers.


I think we can just implement Suggest potential solution

I believe this is a straightforward but valuable addition to the CLI. I’m happy to work on a PR for this if the maintainers agree with the proposal!

Metadata

Metadata

Labels

Good First IssueThis issue would be a good issue for a first time contributor to undertake.kind/featureCategorizes issue or PR as related to a new feature.volunteers-wantedIssues good for community/volunteer contributions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions