Command-line interface

You configure the SeaLights ABAP Agent using a command-line interface program installed to <SLABAPAgent dir>\bin directory. You can use the command-line interface program to do the following:

  • Set up the agent

  • Connect the agent to SeaLights

  • Define resources

  • Create an Initial Build Map

  • Create Build Modifications

  • Create Footprints

Run the command-line interface

To display the command-line interface’s help file, start Windows PowerShell as an Administrator, and change to the <SLABAPAgent dir>\bin directory.

PS C:\Windows\system32> cd C:\apps\SLABAPAgent\bin

Then run the following:

Command
.\slabapcli.exe --help
Expected output
C:\apps\SLABAPAgent\bin>slabapcli --help
usage: slabapcli [-h|--help] [-c|--config <config pathname>] [-l|--log_level <log_level>] <resource> <command> [args]
resource:
  setup:
    install   : install
    uninstall : uninstall
    migrate   : migrate config to the latest supported version
  settings:
    list : list settings
  sealights:
    list : list sealights configuration
    test : test sealights configuration
    set  : set sealights configuration
  rfc:
    list : list rfc configurations
    test : test rfc configuration
    del  : delete rfc configuration
    set  : set rfc configuration
    phd  : import performance history data
  pipeline:
    list : list pipelines
    set  : set pipeline
  proxy:
    list : list proxy configuration
    set  : set proxy configuration
  buildmap:
    run : configure one-time collection of initial build map
  buildmods:
    run : configure regular collection of build mods
    stop: stop collection of build mods
  footprints
    run : configure regular collection of footprints
    stop: stop collection of footprints
  testexecution
    list  : list open test executions
    open  : open test execution
    close : close test execution
  security
    decrypt : decrypt config file and all sqlite db files

slabapcli <resource> help for resource specific help

You can run .\slabapcli.exe <resource> help to display the help for a specific resource.

Prerequisites

Before you set up the Agent, the first step is to test your machine’s connection to SeaLights. Start Windows PowerShell as an Administrator and run the following commands:

In each case, replace {customerId} with your SeaLights Customer ID.

Last updated

Was this helpful?