Skip to main content

Module command

Module command 

Source
Expand description

docs CLI subcommand — list | show | browse | serve | ask.

Wires the crate::DocsBrowser / crate::DocsServer library APIs to the user-facing CLI. Each invocation parses its own arguments via clap (the Command trait gives no clap::ArgMatches to subcommands), reads the doc tree out of rtb_app::App::assets under docs/, and dispatches.

§Lint exception

linkme::distributed_slice emits #[link_section] which Rust 1.95+ flags under unsafe_code. Allowed at module level — no hand-rolled unsafe blocks anywhere in the module.

Structs§

DocsCmd
The docs subcommand.