# 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. Private entities not referenced by the public entities are removed from the compiled ECR file.

To enable this feature, type `edktool l <grammarfile>` at the command line.

The following table describes the optional parameters for this command.

`-a` | This option lists the license requirements for a particular compiled grammar file, as well as the components that the entity can return. For example, the following output: `category: place languages: English or French` 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

© Copyright 2013-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm