On Mon, Jan 30, 2012 at 08:43:58AM -0800, Jos Backus wrote: > Hi Baptiste, > > This looks great! > > On Mon, Jan 30, 2012 at 4:39 AM, Baptiste Daroussin <b...@freebsd.org>wrote: > > > > > Sample output of pkg info: > > > > $ pkg info -f libreoffice: > > Name : libreoffice > > Version : 3.4.4 > > Origin : editors/libreoffice > > Prefix : /usr/local > > Categories : editors > > Licenses : MPL & LGPL3 > > Maintainer : off...@freebsd.org > > WWW : http://www.libreoffice.org/ > > Comment : Full integrated office productivity suite > > Options : > > DEBUG: off > > GNOME: off > > GTK: on > > JAVA: off > > KDE4: off > > MMEDIA: off > > PYUNO: off > > SDK: off > > SYSTRAY: off > > WEBDAV: off > > Flat size : 319 MB > > Description : > > LibreOffice is the free power-packed Open Source personal productivity > > suite for > > Windows, Macintosh and Linux, that gives you six feature-rich applications > > for > > all your document production and data processing needs: Writer, Calc, > > Impress, > > Draw, Math and Base. > > > > WWW: http://www.libreoffice.org/ > > > > > > > I haven't checked if `pkg query' can do this yet, but how about emitting > the above output in YAML as well? It would still be very readable for > humans. > > Anyway, I'll try this out. >
No pkg query can't do this, but this would be a nice addition (something like raw output for info or query) I do like the idea, please create an issue on the github :)) regards, Bapt
pgp2ikQVyXJQe.pgp
Description: PGP signature