sensei

Crates.iosensei
lib.rssensei
version0.2.9
sourcesrc
created_at2020-12-02 04:38:18.503541
updated_at2022-05-13 01:54:15.060969
descriptionSensei is a simple command line tool to open documentation for any crate.
homepagehttps://sensei.edfloreshz.dev/
repositoryhttps://github.com/edfloreshz/sensei/
max_upload_size
id318797
size42,420
Eduardo Flores (edfloreshz)

documentation

https://docs.rs/sensei

README


Sensei (先生)

build crate downloads chat on telegram 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

Usage

sns <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.
-m, --manifest  Looks up the version in Cargo.toml

Examples

Opening documentation for a crate.
sns rand
Opening local documentation for a crate.
sns rand -l
sns rand --local
Specifying a version.
sns rand -v 0.7.2
sns rand --version 0.7.2
Getting version from Cargo.toml
sns rand --manifest
sns rand -m
Sending a query.
sns rand -q Rng
sns rand --query Rng
Commit count: 165

cargo fmt