List
This command lists the entities in an uncompiled (source) XML Eduction grammar file or a compiled ECR grammar file. Listing the contents of an XML file lists all entities in the file, both private and public. Listing the contents of a compiled ECR file lists all public entities.
NOTE: The compiled ECR file does not include any private entities that are not referenced by the public entities.
The entities, and components if you use the -a
option, are listed in alphabetical order.
To enable this feature, type edktool l <grammarfile>
at the command line.
The following table describes the optional parameters for this command.
-a
|
List the license requirements for a particular compiled grammar file, as well as the components that the entity can return. For example, the following output:
indicates that the user must be licensed for either English or French in the place category. If multiple lines appear, then the license must satisfy the conditions in every line. |
-q
|
Run in quiet mode. In this case, edktool removes all descriptive messages from the output and shows the entity list only. The output includes components if you also set the -a parameter. |
Example
To list all public entities in the compiled grammar file mygrammar.ecr
:
edktool list mygrammar.ecr