-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
Good First IssueThis issue would be a good issue for a first time contributor to undertake.This issue would be a good issue for a first time contributor to undertake.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.triagedIssue has been triagedIssue has been triaged
Description
Feature request description
When typing the network create command --interface-name
it would be nice if we could get a list of all local interface names as shell autocomplete suggestion.
Suggest potential solution
The autocompletion code is written in go, currently the flag is using no completion function here
podman/cmd/podman/networks/create.go
Line 88 in 0215832
_ = cmd.RegisterFlagCompletionFunc(interfaceFlagName, completion.AutocompleteNone) |
Add a new function in cmd/podman/common/completion.go that can list all interface names using the go standard library and then use this one for the option.
Have you considered any alternatives?
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
Good First IssueThis issue would be a good issue for a first time contributor to undertake.This issue would be a good issue for a first time contributor to undertake.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.triagedIssue has been triagedIssue has been triaged