Some time ago, I tried to do my own AUR helper using bash just for fun, but I quickly abandoned the project because it was made in quite a convoluted way (plus I found out later that the name was already taken by another AUR helper 🥲) (nvm this name is also already taken, I'll find another one later).
So here I am, trying to make an AUR helper that
- is fast
- only handles AUR package
- has pacman-like syntax
and most importantly
- provides interactive mechanisms when things go bad (or even if they don't) during an installation in order to fix everything and direct towards solution, rather than trying to do its own thing and ending up breaking everything or simply letting you down :(
- main.rs → control flow
- [subcommand].rs → functions related to each of these subcommands that will be launched from main
- database.rs → helper functions for managing the package database
- config.rs → everything that manages the rah config