[Merge Request] Add Shorthand to pamac-cli
With pamac, I noticed that there is no built-in way to use shorthand to write the commands you want. I feel that some people would prefer typing shorter commands like in pacman or npm, but would still want something that can easily be remembered and doesn't take as much time to get used to.
This patch includes the following shorthand for the commands:
- pamac install -> pamac i
- pamac reinstall -> pamac rei
- pamac remove -> pamac r
- pamac search -> pamac s
- pamac build -> pamac b
- pamac checkupdates -> pamac cu
- pamac update | pamac upgrade -> pamac u
- pamac clean -> pamac c
All options should work with these commands. For instance, pamac i -a ardour-git
should install the git version of ardour from the AUR.
EDIT: I apologize for posting the wrong command. It would be pamac b ardour-git
.
Please let me know what you think about this idea and I'd love to see this idea merged into the CLI package.