> For the complete documentation index, see [llms.txt](https://sealights-docs.tricentis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sealights-docs.tricentis.com/setup-and-configuration/command-line-interface.md).

# Command-line interface

You configure the SeaLights ABAP Agent using a command-line interface program (`slabapcli.exe`) installed to the agent's `bin` directory. The pages below are organized in the order you'd typically use them, from initial setup through ongoing pipeline monitoring.

## Prerequisites

Before you set up the Agent, the first step is to test your machine's connection to SeaLights. See [Set up the agent — Prerequisite to Agent Setup](broken://pages/54pGpo5ULmlonbluKqHL#prerequisite-to-agent-setup) for the connectivity check commands.

<table data-view="cards"><thead><tr><th>Title</th><th>Description</th><th data-card-target data-type="content-ref">Target</th></tr></thead><tbody><tr><td><strong>Set up the agent</strong></td><td>Initialize the agent, connect it to SeaLights, and migrate legacy configurations.</td><td><a href="broken://pages/54pGpo5ULmlonbluKqHL">Broken link</a></td></tr><tr><td><strong>Validate Your Setup</strong></td><td>Run a comprehensive health check of your ABAP agent setup in one command.</td><td><a href="broken://pages/A8FSceuQXginyDTL5f4z">Broken link</a></td></tr><tr><td><strong>Start the ABAP Agent Server</strong></td><td>Start, stop, and check readiness of the SeaLights ABAP Server Windows service (<code>slabapcli server</code>).</td><td><a href="broken://pages/jjXJbDJ9CnFBYzl2NDMP">Broken link</a></td></tr><tr><td><strong>Create, Test &#x26; List RFC Destinations</strong></td><td>Connect the agent to your QAS and Production SAP systems.</td><td><a href="broken://pages/zPfkH57Cxw3SCdFvArqI">Broken link</a></td></tr><tr><td><strong>Upload usage data to an RFC Destination</strong></td><td>Provide your own ST03N usage data instead of pulling it live from Production.</td><td><a href="broken://pages/fw9npSbrE9ByW6ww8CGd">Broken link</a></td></tr><tr><td><strong>Create &#x26; List Pipelines</strong></td><td>Link a QAS and Production system pair to a SeaLights application.</td><td><a href="broken://pages/edqS0kWLEcXgW4rYb5N5">Broken link</a></td></tr><tr><td><strong>Configure Test Repositories</strong></td><td>Connect the pipeline to your test management tool (Tosca, qTest, Excel, and others).</td><td><a href="broken://pages/RZTKL0g90WmKm4Prs0gG">Broken link</a></td></tr><tr><td><strong>Upload FLPCA data</strong></td><td>Import Fiori Launchpad catalog data — required for Fiori before running Search Test Repositories.</td><td><a href="broken://pages/OVyJn64Uei6IIYc502CN">Broken link</a></td></tr><tr><td><strong>Upload a Critical List</strong></td><td>Upload a CSV of business-critical transactions and programs to the pipeline's SeaLights application.</td><td><a href="broken://pages/RyMh0JbwIMIXBvLuyPT5">Broken link</a></td></tr><tr><td><strong>Search Test Repositories</strong></td><td>Schedule the recurring scan that matches test cases to business contexts.</td><td><a href="broken://pages/3dzoIdoAGQw91N8Jpn6t">Broken link</a></td></tr><tr><td><strong>Create an Initial Build Map for your Pipeline</strong></td><td>Take a one-time snapshot of ABAP components in use, based on Production usage data.</td><td><a href="broken://pages/6f4WDLP7ZxZdqhvqwcMb">Broken link</a></td></tr><tr><td><strong>Validate Your Pipeline Setup</strong></td><td>Confirm the pipeline is configured correctly end-to-end before enabling continuous monitoring.</td><td><a href="broken://pages/jGsSRDkKfOoRdFm3tqxl">Broken link</a></td></tr><tr><td><strong>Monitor your Pipeline for Build Modifications</strong></td><td>Configure the agent to detect code changes from transports imported into QAS.</td><td><a href="broken://pages/JZVVGs3ieGcAwmbZ8qqj">Broken link</a></td></tr><tr><td><strong>Collect Footprints data for your Pipeline</strong></td><td>Configure the agent to collect test-execution data from your connected test tool.</td><td><a href="broken://pages/BtrDV52TrGwLRpGXR4Nd">Broken link</a></td></tr></tbody></table>

## Run the command-line interface <a href="#toc201668086" id="toc201668086"></a>

To display the command-line interface's help file, open a terminal as an Administrator and change to the agent's `bin` directory (default: `C:\Program Files\Tricentis\SeaLights\ABAP Agent\bin`).

{% tabs %}
{% tab title="Command Prompt" %}
{% code overflow="wrap" %}

```batch
cd "C:\Program Files\Tricentis\SeaLights\ABAP Agent\bin"
```

{% endcode %}
{% endtab %}

{% tab title="PowerShell" %}
{% code overflow="wrap" %}

```powershell
cd "C:\Program Files\Tricentis\SeaLights\ABAP Agent\bin"
```

{% endcode %}
{% endtab %}
{% endtabs %}

Then run the following:

{% tabs %}
{% tab title="Command Prompt" %}
{% code title="Command" overflow="wrap" %}

```batch
slabapcli.exe --help
```

{% endcode %}
{% endtab %}

{% tab title="PowerShell" %}
{% code title="Command" overflow="wrap" %}

```powershell
.\slabapcli.exe --help
```

{% endcode %}
{% endtab %}
{% endtabs %}

{% code title="Expected output (PowerShell)" overflow="wrap" lineNumbers="true" %}

```log
.\slabapcli.exe --help
slabapcli


C:\Program Files\Tricentis\SeaLights\ABAP Agent\bin\slabapcli.exe [OPTIONS] SUBCOMMAND


OPTIONS:
  -h,     --help              Print this help message and exit
          --version           Display the slabapcli version and exit
  -c,     --config TEXT       config pathname
  -l,     --log_level TEXT [info]
                              log level

SUBCOMMANDS:
  rfc                         Manage RFC destinations
  sealights                   Manage the SeaLights connection
  setup                       Install, configure, and health-check the agent
  server                      Install, control, and check the SLABAPServer Windows service
  pipeline                    Manage SeaLights pipelines
  buildmap                    Collect the SeaLights build map
  buildmods                   Collect SeaLights build modifications
  footprints                  Collect SeaLights footprints
  upload                      Upload commands
  upload_flpca                Run upload_flpca import/status commands
  search_testrepo             Manage scheduled search_testrepo commands
  testrepo                    Manage test-repo commands
  purger                      Schedule deletion of aged logs (*.log) and private artifacts
                              (*.json, *.db, *.xml)
  settings                    Show the agent settings
  security                    Security operations on configuration and database files
  proxy                       Manage proxy configuration
```

{% endcode %}

To display the help for a specific command group, run `slabapcli.exe <resource> --help` (or `-h`). The word `help` on its own is not a command: `slabapcli.exe settings help` fails with an error saying that a subcommand is required.

{% tabs %}
{% tab title="Command Prompt" %}
{% code title="Command" overflow="wrap" %}

```batch
slabapcli.exe settings --help
```

{% endcode %}
{% endtab %}

{% tab title="PowerShell" %}
{% code title="Command" overflow="wrap" %}

```powershell
.\slabapcli.exe settings --help
```

{% endcode %}
{% endtab %}
{% endtabs %}

{% code title="Expected output (PowerShell)" overflow="wrap" lineNumbers="true" %}

```log
.\slabapcli.exe settings --help
Show the agent settings


C:\Program Files\Tricentis\SeaLights\ABAP Agent\bin\slabapcli.exe settings [OPTIONS] SUBCOMMAND


OPTIONS:
  -h,     --help              Print this help message and exit
          --version           Display the slabapcli version and exit
  -c,     --config TEXT       config pathname
  -l,     --log_level TEXT [info]
                              log level

SUBCOMMANDS:
  list                        List the agent settings
```

{% endcode %}

## Commands

Each command group contains the following commands.

| Command group     | Commands                                                                                                                                    |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `setup`           | `install`, `uninstall`, `list`, `migrate`, `upgrade`, `status`                                                                              |
| `settings`        | `list`                                                                                                                                      |
| `sealights`       | `list`, `test`, `set`                                                                                                                       |
| `proxy`           | `list`, `set`                                                                                                                               |
| `server`          | `install`, `uninstall`, `start`, `stop`, `status`                                                                                           |
| `rfc`             | `list`, `test`, `set`, `phd`                                                                                                                |
| `pipeline`        | `list`, `set`                                                                                                                               |
| `testrepo`        | `list`, `test`, `set`                                                                                                                       |
| `search_testrepo` | `run`, `stop`, `status`                                                                                                                     |
| `upload_flpca`    | `import`, `status`                                                                                                                          |
| `upload`          | `critical_list`, `flpca import`, `flpca status` (`upload flpca import\|status` is an alternative spelling of `upload_flpca import\|status`) |
| `buildmap`        | `run`                                                                                                                                       |
| `buildmods`       | `run`, `stop`                                                                                                                               |
| `footprints`      | `run`, `stop`                                                                                                                               |
| `purger`          | `run`, `stop`                                                                                                                               |

## Global options

These options are available on every command. You can place them before or after the command.

| Option                      | Description                                                                                                                              |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `-c`, `--config <path>`     | Path to the `config.toml` file to use. If you omit it, the agent uses `%ProgramData%\Tricentis\SeaLights\ABAP Agent\config\config.toml`. |
| `-l`, `--log_level <level>` | Verbosity of the messages the command prints, for example `debug` for more detail. Default: `info`.                                      |
| `--version`                 | Display the `slabapcli` version and exit.                                                                                                |
| `-h`, `--help`              | Display help for the command or command group and exit.                                                                                  |
