8.4 Query Package

The Query command can be used to query for a particular package so that it can be installed. By using the QueryEditor, the results can be limited to certain criteria, such as the platform being developed for. Queries can also be saved to files so that they can be conveniently used at a later time. This example shows how to save a query file, and then load it to list the available families with amiibo in their names.

  1. Run the following command to use the QueryEditor and save a query file.

    ndicmd /i /gs QueryEditor SetProp SW:All:Families FamilyName amiibo THEN QueryEditor Save query.json
  2. After saving the query file, run the following command to load the query file and make a query.

    ndicmd /i /gs QueryEditor Load query.json THEN Query SW:All:Families

 


CONFIDENTIAL