This week I’ve published a Bash script for building and displaying Rust documentation via the command-line. Check the documentation for detailed getting started and usage instructions, the source code is available on GitHub. What follows is the TLDR for installation and usage…

Clone

mkdir -p ~/git/hub/rust-utilities

cd ~/git/hub/rust-utilities

git clone --recurse-submodules git@github.com:rust-utilities/cli-rustdoc.git

Install

cd ~/git/hub/rust-utilities/cli-rustdoc

make install

Usage

After installing cli-rustdoc run the script with a package name…

cli-rustdoc 'version_operators'