#cli #command-line-tool #sns #command-line

app sensei

Sensei is a simple command line tool to open documentation for any crate

23 releases

0.2.9 May 13, 2022
0.2.8 Nov 26, 2021
0.2.7 Aug 30, 2021
0.2.5 May 31, 2021
0.1.12 Dec 7, 2020

#628 in Command line utilities

Download history 3/week @ 2022-11-30 27/week @ 2022-12-14 1/week @ 2022-12-28 3/week @ 2023-01-04 41/week @ 2023-01-11 1/week @ 2023-01-18 6/week @ 2023-01-25 7/week @ 2023-02-01 68/week @ 2023-02-08 69/week @ 2023-02-15 2/week @ 2023-02-22 52/week @ 2023-03-01 6/week @ 2023-03-08 2/week @ 2023-03-15

85 downloads per month

GPL-2.0 license

16KB
218 lines


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

Dependencies

~1–6MB
~91K SLoC