Syntax:
embold-analyse [options]

Options:
Embold Analyse provides multiple options like:

  1. – f : Analyses all the files in the current directory.
  2. – l : Specifies the language used while filtering the files during analysis.(Mandatory)
    Languages supported are: Java, CPP, C_Sharp, Python, Javascript, Typescript, Go, Objective_C, Kotlin, PHP, Solidity and SQL.
  3. – o : By default, generates the output on the console. Other options are CSV and XML. It is stored under this path: $CORONA_HOME/temp/Corona/EmboldIssues.csv
  4. – h : Displays the usage.

Usages of Embold Analyse:
Following are different usages of the Embold Analyse:

  1. embold-analyse -l Java: Analyses all the staged, unstaged, and untracked Java files in the current directory, and the output is displayed on the console.
  2. embold-analyse -f -l CPP: Analyses all the CPP files in the current directory and the output is displayed on the console.
  3. embold-analyse -o -l Python: Analyses all the modified Python files in the current directory and by default displays the output on the console.
  4. embold-analyse -o CSV -l Python: Analyse all the modified Python files in the current directory and generates the output in CSV file. This file is by default saved in the $CORONA_HOME/temp/Corona/EmboldIssues.csv.
  5. embold-analyse -o XML -f -l CPP: Analyses all the modified CPP files in the current directory and generates output in XML file. This file is by default saved in the $CORONA_HOME/temp/Corona/EmboldIssues.csv.
  6. embold-analyse -o CSV -f -l PHP: Analyses all the modified PHP files in the current directory and generates the output in CSV format.