---
title: "una trace"
url: https://una-lang.org/en/docs/cli/trace/
release: v0.4.0
---

# una trace

List the functions derived from a requirement, their contracts and their obligations.

```text
una trace [OPTIONS] <REQUIREMENT>
```

## Examples

```sh
una trace EVENTS_3
```

List the functions derived from a requirement, by its identifier.

## Arguments

| Argument | What it does | Default |
| --- | --- | --- |
| `<REQUIREMENT>` | The requirement's identifier, for example EVENTS_3 |  |

## Options

| Option | What it does | Default |
| --- | --- | --- |
| `--json` | Print machine output as JSON on stdout, and nothing else on stdout |  |
| `--solver-wallclock <SECONDS>` | Stop a solver query after this many seconds; the obligation is then unknown | `60` |
| `--color <WHEN>` | When to use colors in human output. Values: `never`: Never use colors; `auto`: Use colors when the output is a terminal; `always`: Always use colors. | `auto` |
| `--solver-memory <MIB>` | The memory limit of each solver query in MiB, from 256 to 1048576 | `4096` |

## Specification

The normative rules, from spec/13 §5:

| Command | Meaning |
| --- | --- |
| `una trace <REQUIREMENT_ID>` | Requirement to contract to obligation chain |




## Help text

As `una trace --help` prints it at v0.4.0:

```text
List the functions derived from a requirement, their contracts and their obligations

Usage: una trace [OPTIONS] <REQUIREMENT>

Arguments:
  <REQUIREMENT>
          The requirement's identifier, for example EVENTS_3

Options:
      --json
          Print machine output as JSON on stdout, and nothing else on stdout

      --solver-wallclock <SECONDS>
          Stop a solver query after this many seconds; the obligation is then unknown

          [default: 60]

      --color <WHEN>
          When to use colors in human output

          Possible values:
          - never:  Never use colors
          - auto:   Use colors when the output is a terminal
          - always: Always use colors

          [default: auto]

      --solver-memory <MIB>
          The memory limit of each solver query in MiB, from 256 to 1048576 (ADR 0124)

          [default: 4096]

  -h, --help
          Print help (see a summary with '-h')
```
