und
und is the command-line tool for creating and updating Understand projects and automating report and CodeCheck generation. It can also be used as part of your CI pipeline, for example in Jenkins.
Each command below links to its own page — synopsis, options, and examples, the same content as und help <command>. New to und? Start with create (make a database), add (add source files), then analyze (parse them).
Commands
| Command | Description |
|---|---|
add | adds files, directories and roots |
ai | uses local AI to describe the project and build the AI code search index |
analyze | analyzes the project files |
arch | manage automatic architectures |
codecheck | runs CodeCheck |
create | creates an empty database |
export | exports settings, dependencies, macros, includes, arches, changes, or annotations |
import | imports project settings or arches or baselines |
license | gives various license information |
list | lists information about the project |
metrics | generates project metrics |
process | runs all the commands in a text file |
projectinfo | gives various project information |
purge | purges the database |
remove | removes files, directories, roots, and architectures |
report | generate reports |
settings | sets project settings, overrides |
uperl | runs perl scripts |
version | gives the current version |
Help Topics
| Topic | Description |
|---|---|
interactive | interactive mode: run multiple commands without retyping the database |
Named Roots | named roots: make non-relative projects portable |
Global Options | global options accepted with any und command |
Licensing | configure and query the Understand license from the command line |
Settings Reference | every und setting and its options, all languages |
Settings Examples | a verified example command for each setting with options |