CLI Command Reference
This document provides a technical reference for the txlog command-line interface.
Global Flags
The following flags apply to all commands:
| Flag | Type | Default | Description |
|---|---|---|---|
--config | string | /etc/txlog.yaml | Path 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:
| Code | Description |
|---|---|
0 | Success. All transactions processed and sent (or already up-to-date). |
1 | Error. 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:
| Code | Description |
|---|---|
0 | Success. Data is fully synchronized and verified. |
1 | Failure. 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:
| Code | Description |
|---|---|
0 | Success. |
