#alias #cargo-subcommand #unalias

app cargo-alias

Easily view, create, and delete cargo aliases

4 releases

0.2.2 Nov 29, 2023
0.2.1 Jun 5, 2022
0.2.0 Sep 18, 2021
0.1.0 Sep 16, 2021

#312 in Cargo plugins

MIT/Apache

10KB
84 lines

cargo-alias

Easily create, view, and delete cargo aliases.

Installation

Simply run

cargo install cargo-alias

to install.

Usage

Use cargo alias to print all defined aliases

Use cargo alias name='command list' to make a new alias

Use cargo unalias to delete an alias

Examples

Create an alias to list binaries installed by cargo:

cargo alias installed='install --list'

Current Status and Future

Currently cargo-alias only supports aliases defined in $CARGO_HOME.

Future plans:

  • Support for managing aliases in local configs
  • Code quality cleanup
  • Optimizations
  • Better documentation

License

Licensed under either of

at your option.

Contribution

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.

Dependencies

~5MB
~98K SLoC