Closed sureshanaparti closed 1 year ago
@sureshanaparti We could probably look at improving this in the next release of cmk - however, the reason behind this behavior is that when CloudMonkey tries to find the most appropriate list API that can be used to populate the values of id
- it finds more than one, and hence, doesn't autocomplete the argument's values. For example: this is what is seen in debug mode:
(test) 🐱 > update storagecapabilities id=l[debug] Possible related noun for the arg: storagecapabilitiess and type: uuid
[debug] Finding possible API that have: id related APIs: [cancelStorageMaintenance createStoragePool enableStorageMaintenance findStoragePoolsForMigration syncStoragePool updateStorageCapabilities]
[debug] Found possible API: listCAProviders
[debug] Found possible API: listHostHAProviders
[debug] Found possible API: listNetworkServiceProviders
[debug] Found possible API: listStorageProviders
(test) 🐱 > update storagecapabilities id=
@sureshanaparti was this working with previous versions of cmk, say 6.1.0?
No @rhtyd didn't work in the older versions too:
[root@ref-trl-1725-v-M7-pearl-dsilva-mgmt1 ~]# cmk
Apache CloudStack 🐵 CloudMonkey 6.0.0
Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
(localcloud) SBCM5> >
(localcloud) SBCM5> >
(localcloud) SBCM5> > update storagecapabilities id=
@sureshanaparti was this working with previous versions of cmk, say 6.1.0?
doesn't work with 6.1.0 @rhtyd
Auto-complete not working for 'id' param in update storagecapabilities
Tested with CloudMonkey 6.2.0 (build: 8aae61e).