Documentation
¶
Overview ¶
Command peerbus is the single multi-command binary for the peerbus project: one git/kubectl-style dispatcher for the broker and adapter subcommands.
Subcommands:
serve start the WebSocket broker (token auth + peer
registry + direct/broadcast routing, offline
queue, ack/redelivery).
audit verify [--db PATH] walk the blake3 hash-chain audit log and
report any break.
adapter --adapter=<mode> run the adapter (mode resolved through the
additive --adapter dispatch registry; today:
cc | generic).
Top-level flags:
--version print version and exit 0 (handled BEFORE subcommand parsing
so `peerbus --version` works without a subcommand).
help, -h, --help print the usage block listing the above subcommands.
Unknown subcommand → "peerbus: unknown command %q" on stderr, usage block, exit 2. Per-subcommand exit codes are preserved (e.g. audit verify still exits 0 intact / 1 break / 2 operational).
Click to show internal directories.
Click to hide internal directories.