rtb-cli
Part of the phpboyscout Rust toolkit — small, framework-free crates extracted from rust-tool-base.
The CLI runtime family: a four-crate workspace sharing one version
line. rtb-cli builds the application; the other three each register
a built-in command into the same link-time registry:
rtb-cli— the entry-point crate every downstream tool'smain()touches:Application::buildertypestate, clap integration ofBUILTIN_COMMANDS, tracing + miette wiring, signal binding, and the built-in command suite (version,doctor,init,config,credentials,telemetry).rtb-docs— interactive docs browser (ratatuitwo-pane TUI), loopbackdocs serveHTML server,tantivyfull-text search, and a streaming AI Q&A seam (aifeature →rtb-chat).rtb-update— signature-verified self-update: select, download, verify (Ed25519 + SHA-256), atomically swap, roll back. Composes onrtb-forge.rtb-mcp— Model Context Protocol server (via the officialrmcpSDK) exposingmcp_exposedcommands as MCP tools.
use *;
async
- Docs: https://cli.rust.phpboyscout.uk
- API reference: https://docs.rs/rtb-cli · https://docs.rs/rtb-docs · https://docs.rs/rtb-update · https://docs.rs/rtb-mcp
- Crates: https://crates.io/crates/rtb-cli · https://crates.io/crates/rtb-docs · https://crates.io/crates/rtb-update · https://crates.io/crates/rtb-mcp
Development
just ci runs the full local gate (fmt, clippy, nextest, doc, deny),
including --all-features clippy + test passes that exercise
rtb-docs' ai feature. Tests include a cucumber BDD suite
(crates/rtb-cli/tests/bdd.rs) and trybuild compile-fail fixtures
(run isolated — see .config/nextest.toml; nextest is required).
Releases are cut by release-plz from Conventional Commits — do not
tag manually.
License
MIT