Skip to main content

Module cli

Module cli 

Source
Expand description

The command line: the three container subcommands, their reporting, and the tracing the whole binary logs through. Nothing here names a toolkit.

Structs§

Cli 🔒

Enums§

Command 🔒

Functions§

init_tracing 🔒
Install the console subscriber the whole app logs through, so a failure reported with tracing::error!/warn! is not swallowed. RUST_LOG raises it: RUST_LOG=blockworx=info for what the store is doing, RUST_LOG=edit=debug to narrate every document mutation (the named Drawing setters), edit=trace for the per-frame drag writes.
migrate_container 🔒
Carry a container over to the rev encoding this build writes. Exits non-zero when anything in it did not come over, leaving the container as it was found or part-way, which the next run finishes.
print_log 🔒
Print a container’s trail. Exits non-zero when the log does not verify end to end, so a script can tell an intact trail from a damaged one.
print_verification 🔒
Check a container’s whole log. Exits non-zero on any fault, so a script — or a bisect over app versions hunting fold drift — can use it as a gate.