apache / cloudstack-cloudmonkey

Apache Cloudstack Cloudmonkey
Apache License 2.0
91 stars 60 forks source link

Fix autocompletion for API arguments #133

Closed nvazquez closed 1 year ago

nvazquez commented 1 year ago

Fixes: #72 and #118

Tested:

$ ./bin/cmk 
Apache CloudStack 🐵 CloudMonkey 6.3.0
Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues

(labenv) 🐱 > migrate systemvm virtualmachineid=
4060725f-463e-4f59-b628-eed0e94e2bca (v-1-VM)       558bc1a6-e4ef-4e4c-b88a-8980fbb8bccd (s-2-VM)

...

(labenv) 🐱 > create network associatednetworkid=
ac6ba13c-220c-41b2-83bb-df7f5a2bfbf2 (test-net)     c00b4ea9-41d3-44c2-aad5-fa5555757cfc (L2)   
nvazquez commented 1 year ago

Sure @weizhouapache - please find it here: https://drive.google.com/file/d/1VuI7yt3Ril44g5DiLhXsf4XqKq9cqMBv/view?usp=sharing

weizhouapache commented 1 year ago

Sure @weizhouapache - please find it here: https://drive.google.com/file/d/1VuI7yt3Ril44g5DiLhXsf4XqKq9cqMBv/view?usp=sharing

@nvazquez it is not executable. anyway, I have built the binary and tested it.

(localcloud) 🐱 > list publicipaddresses associatednetworkid=
324622ca-15bf-4878-8da0-21e5b656e592 (capc-cluster-kvm-network)                       a3bda23f-d266-4eef-bb31-547539912e27 (cks-cluster-via-terraform-network)              
cc0d8e91-b2c6-4447-a77d-413d82724ff7 (test)                                           cecbd9f8-f9dd-4e4f-903a-07ece1136a5f (capc-cluster-kvm-vpc-001) 

(localcloud) 🐱 > migrate systemvm virtualmachineid=
bf54db53-30b7-4e44-be9f-5ba87cfb95f2 (v-1-VM)            d99f93ed-38d9-4c47-a1b0-ae2a44132393 (s-2-VM)