From d3517e6cb560dec35361401efff478049172c062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20De=20Marco=20Gon=C3=A7alves?= Date: Wed, 2 Jul 2025 11:00:54 -0300 Subject: [PATCH] add autocomplete support for the instanceid parameter --- cli/completer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/completer.go b/cli/completer.go index be1ba21..3cf61d5 100644 --- a/cli/completer.go +++ b/cli/completer.go @@ -221,6 +221,8 @@ func findAutocompleteAPI(arg *config.APIArg, apiFound *config.API, apiMap map[st relatedNoun = "storagepools" case argName == "associatednetworkid": relatedNoun = "networks" + case argName == "instanceid": + relatedNoun = "virtualmachines" default: // Heuristic: autocomplete for the arg for which a lists API exists // For example, for zoneid arg, listZones API exists