From the Command Line
---------------------


dvt_cli.sh
~~~~~~~~~~

You can use the DVT CLI in order to run Verissimo using the dvt_cli.sh or dvt_cli.bat scripts.

**Syntax**

.. code-block::

  dvt_cli.sh [...] -lint [lint_argument1=value1,lint_argument2=value2,[...],lint_argumentN=valueN]

**Arguments**

.. list-table::
   :header-rows: 1
   :widths: auto

   * - Argument
     - Description
   * - include_html_code
     - Include the source code in the Verissimo HTML report. Possible values: true or false.
   * - library_kind
     - Possible values: uvm or ovm.
   * - open_report
     - Path to a Verissimo HTML report to be imported.
   * - ruleset_kind
     - One of the following: all, basic, compliance, rtl, dead_code, uvm_ieee, performance, non_standard, custom.
   * - ruleset
     - Only if ruleset_kind=custom. Path to the ruleset XML file.
   * - waivers
     - Path to the waivers XML file.


**Examples**

Create a SystemVerilog project and start linting with a custom ruleset and waivers specified:

.. code-block::

  dvt_cli.sh createProject $PROJ/my_project -lang vlog -f $PROJ/my_project/filelist.f -lint ruleset_kind=custom,ruleset=$PROJ/my_project/.dvt/verissimo_ruleset.xml,waivers=$PROJ/my_project/.dvt/verissimo_waivers.xml

Create a SystemVerilog project and import the results from a Verissimo HTML report:

.. code-block::

  dvt_cli.sh createProject $PROJ/my_project -lang vlog -f $PROJ/my_project/filelist.f -lint open_report=$PROJ/my_project/verissimo_html_report

Create a SystemVerilog project and start linting with the Basic predefined ruleset in VS Code:

.. code-block::

  dvt_cli.sh createProject $PROJ/my_project -lang vlog -f $PROJ/my_project/filelist.f -vscode -lint ruleset_kind=basic

.. note::

    Running Verissimo in DVT IDE can also be done using **verissimo.sh**. See :ref:`Lint in DVT IDE`.