D9958: Parseable output for balooctl status
Michael Heidelbach
noreply at phabricator.kde.org
Thu Jan 18 10:06:35 UTC 2018
michaelh created this revision.
michaelh added reviewers: Frameworks, vhanda, smithjd, lbeltrame.
michaelh added a project: Frameworks.
michaelh requested review of this revision.
REVISION SUMMARY
- added -f|--format 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 '.'
REPOSITORY
R293 Baloo
BRANCH
formatting
REVISION DETAIL
https://phabricator.kde.org/D9958
AFFECTED FILES
src/tools/balooctl/main.cpp
src/tools/balooctl/statuscommand.cpp
To: michaelh, #frameworks, vhanda, smithjd, lbeltrame
Cc: ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180118/c2062905/attachment.html>
More information about the Kde-frameworks-devel
mailing list