I’ve been working on one for a minute but the best solution I’ve come up with is searching every package manager when search is invoked but otherwise requiring the package manager to be declared via pkgman.package for installs/removes etc.
You are missing the point. The author is satirizing the fact that there are so many tools and patterns that do basically the same thing. The author doesn’t want to bother figuring out what installation method this particular tool recommends. So they have this script so that he can run geterinstalled inkscape and let the computer figure out which one works.
If you were going to write geterinstalled pip foo you may as well just run pip install foo.
Also note the title-text, which addresses this exact issue:
The failures usually don’t hurt anything, and if it installs several versions, it increases the chance that one of them is right. […]
Why are there so many paru fans? Last release is a year old, constantly out of date in AUR and failing builds in Github don't scream code quality. I prefer yay.
I honestly go back and forth. Depends on which one I decide to try next time I reinstall. I actually used aura for a while, but switched back to yay for the --sudo flag. (I use opendoas)