Running Audits and Metrics from the Command Line
Go Up to AuditsCLI.EXE, the Command Line Audits and Metrics Tool
Contents
With Delphi projects, you can run AuditsCLI.EXE to process Audits and Metrics from the command line. AuditsCLI.EXE can run in three modes:
- Showing help
- Processing Audits
- Processing Metrics
- Warning: Notice that AuditsCLI.EXE can be used only with Delphi projects.
Showing the Help in the Console Window
- To start the command interpreter, click Start and then click Run. In the Run dialog box, type
cmd
in the Open field and click OK. The command interpreter opens. - At the command prompt in the command interpreter, change to the
\bin
subdirectory of your RAD Studio installation. For example, you can execute the following command:cd "C:\Program Files (x86)\Embarcadero\Studio\18.0\bin"
- Execute one of the following command lines:
AuditsCLI -h AuditsCLI --help
- The short instructions on usage of AuditsCLI.EXE appear in the console window.
Processing the Command-Line Audits
- Start the command interpreter.
- Run the command-line Audits tool by invoking, at the command prompt, the AuditsCLI.EXE application with the
--audits
option. To do this, execute a command line with the--audits
option:
AuditsCLI --audits <options>
- For examples of command lines and descriptions of options that you can use in
options
, see AuditsCLI.EXE, the Command Line Audits and Metrics Tool.
- For examples of command lines and descriptions of options that you can use in
Processing the Command-Line Metrics
- Start the command interpreter.
- Run the command-line Metrics tool by invoking, at the command prompt, the AuditsCLI.EXE application with the
--metrics
option. To do this, execute a command line with the--metrics
option:
AuditsCLI --metrics <options>
- For examples of command lines and descriptions of options that you can use in
options
, see AuditsCLI.EXE, the Command Line Audits and Metrics Tool.
- For examples of command lines and descriptions of options that you can use in