edktool Command-Line Tool > edktool Syntax

edktool Syntax
Syntax for edktool is as follows:
 
Usage: edktool  {
     compile      [-i] <inputfile> [-e <entity>[,<entity>...]]
                  [-l <licensefile>] [-o <outputfile>] |
     list         <grammarfile> [-a] |
     extract      -l <licensefile> -i <inputfile> [-c <configfile>]
                  [-g <grammarfile>[,<grammarfile>...]]
                  [-e <entity>[,<entity>...]] [-o <outputfile>] [-m] |
     measure       -e <expectedfile> -a <actualfile> [-o <resultsfile>] |
     assess        -l <licensefile> [-o <resultsfile>] [-c <configfile>] [-a]
                  [-m <matched entities>] [-g <grammarfile>[,<grammarfile>...]]
                  [-e <entity>[,<entity>...]] [-v <valid input>]
                  [-w <invalid input>] [-x] |
     permissions -d <directory> -l <licensefile> [-a] |
     help         [<option>] }
 
Options:
  compile or c           Compiles a grammar file
     -i inputfile        Input grammar file
     -e entities         Entities to be included in the grammar
     -l licensefile      The file containing the license key
     -o outputfile       Output grammar file
 
  list or l              Lists the available entities in a grammar file
        grammarfile      The grammar file
     -a                  Show additional info - such as license requirements
 
  extract or e           Extract entities from a file
     -l licensefile      The file containing the license key
     -i inputfile        The file on which entity extraction will be performed
     -c configfile       A configuration file controlling the extraction
     -g grammarfiles     Grammar files to use, if "-c" is not used
     -e entities         The entities to extract, if "-c" is not used
     -o outputfile       The file containing the results of the extraction
     -m                  Produce match results for IDOL input files
 
  measure or m           Measures precision and recall between extraction runs
     -e expectedfile     The expected results file from "edktool extract"
     -a actualfile       The actual results file from a separate extraction run
     -o resultsfile      The results: precision, recall and differences
 
  assess or a            Measures precision and recall, using user-defined data
     -l licensefile      The file containing the license key
     -a                  Show all results, including true matches
     -c configfile       A configuration file controlling the assessment
     -g grammarfiles     Grammar files to use, if "-c" is not used
     -e entities         The entities to extract, if "-c" is not used
     -x                  Sets comparison mode to "exact", if "-c" is not used
     -m "match entities" Entities to check results against, if "-c" is not used
     -v "valid input"    The file containing valid input, if "-c" is not used
     -w "invalid input"  The file containing invalid input, if "-c" is not used
     -o resultsfile      The results: false matches, precision and recall
 
  permissions or p       Displays all licensed grammar files in a directory
     -d directory        A directory containing some eduction grammar files
     -l licensefile      The file containing the license key
     -a                  Show additional information
 
  help or h              Displays edktool help
          option         More detailed help on the edktool option