Libervia CLI tip 6:

Most commands have an `-O, --output` option to format the output. By default, the output is pretty formatted for humans, but you can output in JSON, XML, or other formats.

With `template` output you can use Jinja templates, either built-in ones (the ones used in the web frontend), or your own; useful to build static HTML pages/sites, or reformat the data the way you want.

Use `--help` to see available outputs

libervia.org/__b/doc/backend/l…

#Libervia #CLI #li #tips #XMPP #FOSS