CLI reference
repairledger [--cwd PATH] [--json] [--version] COMMAND
Global options
Option |
Description |
|---|---|
|
Current working directory (invocation context only). |
|
Output JSON envelopes. |
|
Show version and exit. |
--root PATH is accepted for backward compatibility but is deprecated:
Repairledger has no workspace root. The value only affects the
Workspace.root field of internal data classes.
Initialization
repairledger init
repairledger init --data-path /custom/path
repairledger init --config-path /custom/path/rl.toml
Option |
Description |
|---|---|
|
Absolute or |
|
Absolute custom global config file. |
|
Deprecated alias for |
|
Deprecated; ignored (no project section). |
|
Rejected ( |
Project commands
Command |
Description |
|---|---|
|
Initialize the user-global config and data path. |
|
Show Repairledger status. Read-only. |
|
Show Repairledger config or repair info. |
|
Run Repairledger diagnostics. Read-only. |
|
Show the next recommended action. |
|
Convenience repair logging command. |
Repair commands
Command |
Description |
|---|---|
|
Set a repair as active. |
|
List repairs with optional filters. |
|
Show a repair observation. |
|
Change repair status. Requires |
|
Archive a repair. Requires |
|
Build rendered artifacts. Requires |
|
Export repair Markdown to global |
|
Validate a repair. |
|
List versions. |
|
Diff two versions. |
|
Apply structured JSON bundle. |
Component commands
Command |
Description |
|---|---|
|
List components. |
|
Show a component. |
|
Set a component. Requires |
|
Append to a component. Requires |
Report commands
Command |
Description |
|---|---|
|
Build aggregate report to global |
|
Export aggregate report to global |
Environment variables
Variable |
Effect |
|---|---|
|
Absolute path to a custom config file. |
|
Overrides the base directory for the config file. |
|
Overrides the base directory for the data path. |
|
Used as the fallback for |