Crates.io | cargo-nav |
lib.rs | cargo-nav |
version | 1.2.0 |
source | src |
created_at | 2020-06-20 03:41:30.381157 |
updated_at | 2023-03-14 21:28:01.49446 |
description | Navigate directly to crate links from your terminal |
homepage | https://github.com/celeo/cargo-nav |
repository | https://github.com/celeo/cargo-nav |
max_upload_size | |
id | 255895 |
size | 65,012 |
Navigate directly to crate links from your terminal.
Inspired by njt.
cargo install cargo-nav
Get usage information with cargo nav --help
Call via cargo nav <crate_name>
to jump to the homepage of that crate as listed on crates.io. You can specify an additional argument to jump to the [r]epository, [d]ocumentation, or [c]rate pages.
cargo nav serde
cargo nav serde c
cargo nav serde crate
cargo nav serde h
cargo nav serde homepage
cargo nav serde r
cargo nav serde repository
cargo nav serde d
cargo nav serde documentation
The short arguments 'c', 'h', 'r', and 'd' are available as less typing to get to their respective links. Going to the crate's homepage is the default behavior.
git clone https://github.com/Celeo/cargo-nav
cd cargo-nav
cargo build
Licensed under either of
Please feel free to contribute. Please open an issue first (or comment on an existing one) so that I know that you want to add/change something.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.