You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this is a cmd line tool, generally we make heavy use of ways to select particular entities in the tables. generally this is the ID for the table. This makes it hard for the user since they have to remember integer IDs for particular entries in a table.
Thus: 'smicli targets list'
generates a table of the targets table (id, ip address, creds, port, etc.) However, to modify/get/delete, etc. a particular entry you must remember the id from a previous list. Thus smicli modify 98 --ipaddress 10.2.104.22 modifies the ipaddress of target 98. This is hard to do. We have for some tables the capability to list all of the entries and allow the user to select one. Thus, smicli modify ? --ipaddress 10.2.104.22 would first present a list of the targets with info including (id, product, company, etc.) and the user could then select this entry without having to remember the ID number or abort the whole operation.
Note that we tried doing things like using other fields (company, product, etc.) to derive the id but there are too many duplicates in the tables to allow this to refine to a single id and further, some things like product are actually spelled slightly differently in different targets.
This is all part of making this easier to use and will apply not this and the other command line tools like pywbemcli equally.
The text was updated successfully, but these errors were encountered:
This has been largely corrected and in almost all cases we now allow and document the use of ? as a request for a pick-list to be displayed.
However, we have made this more complex because we also use the --interactive option for the position argument which gives the user a choice. Perhaps we should remove that option
Since this is a cmd line tool, generally we make heavy use of ways to select particular entities in the tables. generally this is the ID for the table. This makes it hard for the user since they have to remember integer IDs for particular entries in a table.
Thus: 'smicli targets list'
generates a table of the targets table (id, ip address, creds, port, etc.) However, to modify/get/delete, etc. a particular entry you must remember the id from a previous list. Thus smicli modify 98 --ipaddress 10.2.104.22 modifies the ipaddress of target 98. This is hard to do. We have for some tables the capability to list all of the entries and allow the user to select one. Thus, smicli modify ? --ipaddress 10.2.104.22 would first present a list of the targets with info including (id, product, company, etc.) and the user could then select this entry without having to remember the ID number or abort the whole operation.
Note that we tried doing things like using other fields (company, product, etc.) to derive the id but there are too many duplicates in the tables to allow this to refine to a single id and further, some things like product are actually spelled slightly differently in different targets.
This is all part of making this easier to use and will apply not this and the other command line tools like pywbemcli equally.
The text was updated successfully, but these errors were encountered: