---
url: https://huldoser.github.io/test-inventory/api/interfaces/RunCommand.md
---
# Interface: RunCommand

A command line that runs some test files of an inventory with their runner, config and projects.

## Properties

### config

> **config**: `string` | `null`

The config the files run with, from the project root; null when the scan found none.

***

### projects

> **projects**: `string`\[]

The projects of the config that run the files, as the command selects them; `[]` to run every project.

***

### files

> **files**: `string`\[]

The test files, sorted.

***

### command

> **command**: `string`

The command line, to run from the project root in a POSIX shell.

***

### caveat

> **caveat**: `string` | `null`

What the command runs beyond `files` or why it can't run them as it is; null otherwise.
