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), adocs serveHTML server (loopback by default, not restricted to it),tantivyfull-text search, and a streaming AI Q&A seam (aifeature →rtb-chat).rtb-update: signature-verified self-update: select, download, verify (prehashed minisign, plus SHA-256 when the tool names a checksums asset), self-test, atomically swap. 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 · tutorial · how-to · reference · limitations
- 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 in isolation by .config/nextest.toml, so use nextest rather than
cargo test).
Releases are cut by colophon from Conventional Commits; do not
tag manually.
License
MIT