Trim: Trimming a Repository to a Single Line of Business

The Trim command option can be used against a repository on the file system to eliminate all of the content unrelated to a particular line of business. The command to trim a repository to a single line of business is:
ReqAdmin Trim [--v] --RepositoryPath <RepositoryPath>  --LineOfBusinessIds <LineOfBusinessIds>

Running ReqAdmin with this command opens a repository, inspects every content item and REQ file, and (if it was not used by the line of business specified) it will be removed.

Table 1. Arguments
Argument Definition
--RepositoryPath <RepositoryPath> Required. The path to the repository.
--v Flag indicating weather to log verbose messages to the console. [default: False]
--LineOfBusinessIds <LineOfBusinessIds> Required. The line(s) of business to not trim.
-?, -h, --help Show help and usage information