qacli project config-file
Manage configuration files for a Helix QAC project.
Usage
project config-file {-E <acf|rcf|vcf|cct-c|cct-cpp|user-messages>|-L} -P <directory> [-K <config name>] [-N <cct name>] [--] [-h]
Extended Description
Helix QAC contains many configuration files. These are normally altered by the GUI or CLI, but they can be inspected and altered manually. This command allows you to show which configuration files are being used in a Helix QAC project and the ability to edit and change them, using the default editor on your system.
‑‑name
option, specifying the CCT to edit.Options
Name, shorthand | Default | Description |
---|---|---|
‑‑config, ‑K
|
For projects with multiple configurations, specify which configuration to use. If none is specified, then the default configuration will be used. | |
‑‑edit, ‑E <type>
|
Directly edit one of the configuration files from a Helix QAC project.
Saving configuration file from a project in an invalid format will render the Helix QAC project invalid.
|
|
‑‑help, ‑h
|
Displays usage information and exits. | |
‑‑ignore‑rest, ‑‑
|
Ignores the rest of the labeled arguments following this flag. | |
‑‑list, ‑L
|
List the configuration file associated with a Helix QAC project. | |
‑‑name, ‑N
|
If more than one CCT per language is present in the project, then the name of the CCT to edit must be specified, for example 'Helix_Generic_C.cct'. | |
‑‑qaf‑project, ‑P
|
. | Specify a path to a valid Helix QAC project. |
Examples
List Config Files Used in a Project
This will list the configuration files in the named project:
If the project has more than one configuration, then the default configuration is shown.
Modifying a Configuration File in a Multi-config Project
If you have a multi-config project with two configurations called basic_compliance
and full_compliance
, you could modify just the full_compliance
config with a command such as:
Remember to update the other configurations, if needed.
Modifying a Non-default CCT in a Multi CCT Project
If you have a multi CCT project with two CCTs for the C language, called primary
and secondary
, you could modify the default CCT (primary
) with a command such as:
In order to edit a non-default CCT, you must explicitly specify it: