Weave documentation
Strand Blobs Cli

Commands

The two commands implemented by the strand-blobs-cli binary.

Command surface

strand-blobs-cli compact
strand-blobs-cli metrics

The package uses Cargo's default binary name strand-blobs-cli. Clap also provides help/version flags. The dispatcher defines only Compact and Metrics.

compact invokes BlobStore::compact() and prints its GC plan as formatted JSON. metrics prints byte/chunk counters and GC/put/get operation totals. The program constructs two default Strands and a default BlobStore for each invocation; it does not accept a persistent --store path.

There are no put, get, cat, list, stat, delete, gc, fsck or dedup-stats commands. This binary is not a general interface for arbitrary on-disk blob stores.

Source: tools/strand-blobs-cli/src/main.rs.

On this page