A Cargo subcommand to ease navigation to the crates.io
, documentation, home,
and repository pages of a package.
bash
cargo install cargo-go
bash
cargo go foo # go to foo on crates.io
cargo go foo doc # go to foo’s documentation
cargo go foo home # go to foo’s home page
cargo go foo repo # go to foo’s repository
bash
alias cgo='cargo go $(basename ${PWD}) repo' # go to the repository of the current package
Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.