void-linux / xbps

The X Binary Package System (XBPS)
https://voidlinux.org/xbps/
Other
806 stars 124 forks source link

feature request: support showing properties for all installed packages in xbps-query #596

Open networkhermit opened 6 months ago

networkhermit commented 6 months ago

Currently showing properties for packages in xbps-query requires the package name.

And batch query can be achieved by piping to xargs but it's more slow:

xbps-query --list-pkgs \
    | awk '{ print $2 }' \
    | xargs -rn1 xbps-query --property installed_size,pkgver,architecture

It would be great if xbps-query can support showing properties of all installed packages by default or by a seperate option.

classabbyamp commented 6 months ago

542