On Thu, May 3, 2018 at 1:04 PM, Poul-Henning Kamp <p...@phk.freebsd.dk> wrote:
> --------
> In message 
> <CAJ6ZYQx3vsFtWeTHpoU+ifgKjPDQv3=sH=c5q-zxfqjcu0k...@mail.gmail.com>
> , Guillaume Quintard writes:
>
>>All commands should have a JSON option, I reckon.
>
> Somebody should write more code for it then, I reckon :-)

Maybe we should do that the other way around? Have all CLI commands
reply with a JSON data structure, and CLI consumers like varnishadm,
varnishtest or varnishd -d be able to output it in plain text (with
this code centralized in libvarnish and exposed in libvarnishapi).

Dridi
_______________________________________________
varnish-dev mailing list
varnish-dev@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to