CLI Command Reference

This reference lists all commands of the DaVinci Configurator Classic command-line interfaces with their options, arguments and exit codes. It is generated from the command model of the tools and matches the output of the -h option of each command.

All commands terminate with one of the documented exit codes.

dvcfg-b

DaVinci Configurator Classic - Command-line interface for configuring, validating, and generating MICROSAR Classic projects. See dvcfg-b for the options of the executable itself.

Domain Command Description

automation

run

Run automation tasks with arguments.

add

Add locations containing automation tasks.

remove

Remove locations containing automation tasks.

setup

Set up a script or dvgroovy project environment in the specified location.

list

List automation tasks from a specific project, bsw-package, location, or from all sources.

info

Display detailed information about an automation task.

bsw-update

create-template

Create BSW update template.

execute

Execute BSW update.

compare

report

Create a report containing the differences between projects.

export

run

Export AUTOSAR files from a DaVinci project or from AUTOSAR input files.

flat-extract

Create transient flat extract data just for the export and remove it after the export is finished.

list

Show additional export-related information for a specific project, such as available exporters.

import

evs

Import the variant specifications (EvaluatedVariantSet) ARXML files and update the corresponding settings of the specified project.

arxml-artifacts

Import ARXML artifacts (modules and InternalBehavior packages) from the provided files.

diagnostic-modules

Import diagnostic modules from the provided files.

project

activate-rec-modules

Activate configurations for all present module clusters.

create

Create a new project from scratch or from a template containing bsw-specific parameters.

create-srp

Create a Support Request Package (SRP).

derive-ecuc

Derive ECU configuration from the provided ECU extract files.

generate

Generate C-Code based configuration.

generate-from-files

Generate C-Code based configuration from selected files.

generate-swct

Run the Software Component Template and Contract Phase Header generation.

generate-swct-from-files

Run the Software Component Template and Contract Phase Header generation from selected files.

generate-schema

Generate the project setting json schema.

generate-project-creation-schema

Generate the project creation json schema.

init-base-structured-extract

Create or extend an internal structured extract with minimum base elements.

publish

Publish data specified in the sync job contract(s).

sync

Synchronize data specified in the sync job contract(s).

system-cleanup

Perform a system cleanup.

update

Fix model inconsistencies by running update workflow actions for a specific project and bsw-package.

validate

Validate the ECU configuration for consistency, completeness, and MICROSAR rule compliance.

apply-bswmd

Applies recommended configs and creates required elements for the derived EcuC from BSW module descriptions.

traceability

create-report

Generates a report of all elements with multiple origins.

stop

Stop a running Config Core instance.

status

List all running Config Core instances.

install-completion

Install shell completion for the CLI.

ecuxpro

Command Line Interface for the DaVinci Configurator Classic File Pre-Processing. See ecuxpro for the options of the executable itself.

Command Description

ecuxpro analyze

Analyze the input files and return the information about how they have to be preprocessed to get an ECU Extract.

ecuxpro analyze-migration

Analyze the migration instruction json file and return the instructions for preprocessing the input files.

ecuxpro extract-sysd

Extract a single ECU out of the System Description given by the input files which is saved in the specified output file.

ecuxpro merge

Merge the given input files into one ECU Extract which is saved into the specified output file.

ecuxpro run-script

Execute the given script file(s) on the given input file and save the result in the specified output file.

ecuxpro list-script

List script tasks from a given location.

ecuxpro info-script

Display detailed information about a script task.

ecuxpro variant-merge

Merge the given input files into one variant ECU Extract which is saved into the specified output file.

ecuxpro evs-info

Find the variant names contained in an Evaluated Variant Set file.

ecuxpro validate-schema

Validate the given file against the AUTOSAR schema and return validation result which might contain detailed information about eventual errors.

ecuxpro install-completion

Install shell completion for the CLI.