Add --json flag to format rbt output as json.
Review Request #9245 — Created Oct. 3, 2017 and discarded — Latest diff uploaded
When running the
rbtcommand from a script, it is difficult to parse
the output log messages in order to get necessary information from the
command that was run.This change adds a
--jsonflag to allrbtcommands to change the
output to json to make command output parsing easier from a script.The
rbt diffcommand hasn't been changed because diff output is
expected on stdout.
All rbt tests passed.
| rbtools/api/cache.py |
|---|
| rbtools/commands/api_get.py |
|---|
| rbtools/commands/attach.py |
|---|
| rbtools/commands/close.py |
|---|
| rbtools/commands/install.py |
|---|
| rbtools/commands/land.py |
|---|
| rbtools/commands/patch.py |
|---|