Skip to content

CLI Command Reference ​

This document provides a technical reference for the txlog command-line interface.

Global Flags ​

The following flags apply to all commands:

FlagTypeDefaultDescription
--configstring/etc/txlog.yamlPath to the configuration file.

Commands ​

txlog build ​

Compiles transaction information from the local DNF history and synchronizes it with the configured Txlog Server.

Usage:

bash
txlog build [flags]

Exit Codes:

CodeDescription
0Success. All transactions processed and sent
(or already up-to-date).
1Error. Failed to retrieve transactions, connect to server,
or save data.

txlog verify ​

Verifies data integrity between the local DNF history and the server's records. Checks for missing transactions and package mismatches.

Usage:

bash
txlog verify [flags]

Exit Codes:

CodeDescription
0Success. Data is fully synchronized and verified.
1Failure. Integrity issues detected (missing transactions,
extra items, missing items) or execution error.

txlog version ​

Displays the current version of the Txlog Agent and the connected Txlog Server. Also checks for available updates.

Usage:

bash
txlog version [flags]

Exit Codes:

CodeDescription
0Success.
1Error checking versions.