+ } elsif (scalar(@$args) == 2) {
+ if (my $method = $method_map->{$args->[1]}) {
+ PVE::APIClient::Helpers::complete_api_path($cur);
+ }
+ } elsif (scalar(@$args) >= 3) {
+ my $path = $args->[2];
+ if (my $method = $method_map->{$args->[1]}) {
+ if (my $info = PVE::APIClient::Helpers::lookup_api_method($path, $method, 1)) {
+ my $prop = $info->{parameters}->{properties};
+ PVE::APIClient::Helpers::complete_api_call_options($method, $prop, $prev, $cur, $args);
+ }
+ }