SENSEI (先生)

Sensei is a simple command line tool to open documentation for any crate in crates.io.

Installation

Cargo
cargo install sensei
Arch Linux
paru -S sensei-git

Usage

sensei <crate> [OPTIONS] [FLAGS]

Options

-v, --version <version> Opens documentation for a specific version. -q, --query <query> Specifies query to search documentation.

Flags

-h, --help Prints help information. -l, --local Tries to open local documentation.

Examples

sensei --help | -h sensei <crate> --local | -l sensei <crate> --query | -q <query> sensei <crate> --version | -v <version> sensei <crate> -v <version> -q <query>

Acknowledgements

Thanks to Kedap for maintaing the AUR package.