Diffusion Baloo a7150492b691

balooctl status: Produce parseable output

Authored by michaelh on Jan 18 2018, 9:17 AM.

Description

balooctl status: Produce parseable output

Summary:

  • introduced -f|--format command-line option
  • implemented formatters 'simple', 'json', 'multiline' (=current output)

Test Plan:
$ balooctl status -h
$ balooctl status /existing/path/* /not/existing/path [--format xxx]
JSON well-formed check:
$ balooctl status /existing/path/* /not/existing/path -f json | jq '.'

Reviewers: Frameworks, vhanda, smithjd, lbeltrame

Reviewed By: lbeltrame

Subscribers: broulik, ngraham

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D9958