Imvedansh opened a new pull request, #207:
URL: https://github.com/apache/cloudstack-cloudmonkey/pull/207

   ### Enhancement for
   
   The internetprotocol parameter of the createVPCOffering API supports the 
values:
   
   ```
   ipv4
   dualstack
   ```
   
   However, CloudMonkey does not currently provide autocomplete suggestions for 
these values. When users type:
   
   `create vpcoffering internetprotocol=
   `
   no suggestions are returned.
   
   ### Solution
   
   Add enum-based autocomplete support for the internetprotocol parameter in 
cli/completer.go. The change introduces a small helper to provide enum values 
and integrates it into the existing autocomplete flow.
   
   After this change, CloudMonkey suggests:
   <img width="1218" height="87" alt="Screenshot from 2026-03-08 15-51-40" 
src="https://github.com/user-attachments/assets/d3ecf4f1-8e25-4fea-9c39-1e54e1636dee";
 />
   
   
   ```
   ipv4
   dualstack
   
   ```
   when completing the internetprotocol parameter.
   
   ### Testing
   
   Manually verified that:
   
   `create vpcoffering internetprotocol=<TAB>`
   
   suggests ipv4 and dualstack, and existing autocomplete functionality remains 
unaffected.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to