keenerd / packer

Bash wrapper for pacman and AUR.
247 stars 48 forks source link

Feature Request: View Comments #108

Open blueblob opened 10 years ago

blueblob commented 10 years ago

It would be nice to view the comments in the terminal. Sometimes the comments have tips on how to get out-of-date PKGBUILDs to build. It would make my workflow a little nicer if I could do:

packer -Ss program packer -S program ... oh noes it failed ... packer --view-comments program packer -G program edit PKGBUILD makepkg sudo pacman -U package

Right now the "packer --view-comments program" is "open the AUR page in the browser and view a comment that tells me how to fix the broken package."

I guess if "packer --view-comments program" was simply "$BROWSER https://aur.archlinux.org/packages/$PACKAGE/?comments=all" that would be nice, but it would be even better if it just parsed and output the comments from JSON or whatever it is using in the terminal.