The Command Line Interface

The ARCAD CodeChecker Command Line Interface executes campaigns of code quality tests from the command line. Use the CLI to execute predefined campaigns from a command line.

The ARCAD CodeChecker CLI is distributed as a zip file. Extract the content into the folder of your choice. Go to the /bin folder to launch the CLI.

Note

The CLI needs to have access to a Java 8 Runtime Environment that needs to be installed and accessible from anywhere in a command line terminal (run <code>java -version </code> to find the current accessible Java version).

To call any action using the CLI, the following syntax is used: codechecker <subcommand> <parameters>.

If no subcommand is entered, the CLI then displays a list of the subcommands available.

Each subcommand requires one or more parameters. To display the list of supported parameters for any subcommand, run the subcommand without any parameters. If nothing is provided, the system prompts you to fill in the blanks required to accomplish the subcommands tasks.

Parameters between [brackets] are optional. Each parameter has a long and a short form (example: --server, -S) and are separated from their value by the equal sign = or a space.

There are two subcommands available in the CodeChecker CLI: