SENSEI (先生)

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

Installation

cargo install sensei

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.

Example

sensei --help | -h

help

sensei <crate> --local | -l

help

sensei <crate> --query | -q <query>

help

sensei <crate> --version | -v <version>

help

sensei <crate> -v <version> -q <query>

help