CLI¶
bub currently exposes four builtin commands: run, gateway, chat, and the hidden compatibility command message.
bub run¶
Run one inbound message through the full framework pipeline and print outbounds.
Common options:
--workspace/-w: workspace root, declared once on the top-level CLI and shared by all subcommands--channel: source channel (defaultcli)--chat-id: source endpoint id (defaultlocal)--sender-id: sender identity (defaulthuman)--session-id: explicit session id (default is<channel>:<chat_id>)
Comma-prefixed input enters internal command mode:
Unknown comma commands fall back to shell execution:
bub hooks¶
Print hook-to-plugin bindings discovered at startup.
hooks remains available for diagnostics, but it is hidden from the top-level help.
bub gateway¶
Start channel listener mode (defaults to all non-cli channels).
Enable only selected channels:
bub message is kept as a hidden compatibility alias and forwards to the same command implementation.
bub chat¶
Start an interactive REPL session via the cli channel.
Notes¶
--workspaceis parsed before the subcommand, for exampleuv run bub --workspace /repo chat.runprints each outbound as: