CLI reference

repairledger [--root PATH] [--cwd PATH] [--json] [--version] COMMAND

Global options

Option

Description

--root PATH

Root directory for the workspace.

--cwd PATH

Current working directory.

--json

Output JSON envelopes.

--version

Show version and exit.

Project commands

Command

Description

init

Initialize a new workspace.

status

Show workspace status.

info

Show workspace or repair information.

doctor

Run workspace diagnostics.

next-action [REPAIR_ID]

Show the next recommended action.

log

Convenience repair logging command.

Repair commands

Command

Description

repair activate REPAIR_ID

Set a repair as active.

repair list

List repairs with optional filters.

repair show [REPAIR_ID]

Show a repair observation.

repair status [REPAIR_ID] STATUS

Change repair status.

repair archive [REPAIR_ID]

Archive a repair.

repair build [REPAIR_ID]

Build rendered artifacts.

repair export [REPAIR_ID]

Export repair Markdown.

repair validate [REPAIR_ID]

Validate a repair.

repair versions [REPAIR_ID]

List versions.

repair diff [REPAIR_ID]

Diff two versions.

repair apply --file PATH

Apply structured JSON bundle.

Component commands

Command

Description

repair component list [REPAIR_ID]

List components.

repair component show KEY

Show a component.

repair component set KEY

Set a component.

repair component append KEY

Append to a component.

Report commands

Command

Description

report build

Build aggregate report (to storage).

report export

Export aggregate report (to workspace root).