Crates.io | easy-alias |
lib.rs | easy-alias |
version | 1.0.0 |
source | src |
created_at | 2022-10-31 08:54:20.790273 |
updated_at | 2022-10-31 08:54:20.790273 |
description | A CLI alias manager |
homepage | |
repository | |
max_upload_size | |
id | 702007 |
size | 4,038,349 |
Assign numbers as command aliases.
Repeating commands can become tedious and error-prone, especially if they are long. Assigning regular aliases is a good alternative, but 2 things are worth mentioning about this approach:
Store your commands in /home/$USER/aliases. Example:
docker images
docker container ls -a
docker system prune
docker volume prune
kind create cluster
kubectl get all
kind delete cluster
clear
EASY-ALIAS - A CLI Alias manager
Authors: Lorenzo Costa <http://www.costa86.tech>
Version: 1.0.0
License: AGPL-3.0-or-later
Crafted with ❤️ using Rust language
Set the commands in /home/$USER/aliases
Run a command based on its index:
0 - "clear"
1 - "docker images"
2 - "docker container ls -a"
3 - "docker system prune"
4 - "docker volume prune"
5 - "kind create cluster"
6 - "kubectl get all"
7 - "kind delete cluster"
cargo install easy-alias