Page MenuHomePhabricator

Cumin: add a simple txt/json output
Closed, ResolvedPublic

Description

Sometimes it can be useful to be able to pass the output of Cumin to other shell commands. To allow that, we can add a txt/json format output.

Given the current coupling of the output handling with the clustershell transport, in this first iteration the formatted output will be added at the end of the standard output. The standard output will be suppressed in a next iteration.

Event Timeline

Change 354637 had a related patch set uploaded (by Volans; owner: Volans):
[operations/software/cumin@master] CLI: add -o/--output to get the output in different formats

https://gerrit.wikimedia.org/r/354637

Change 354637 merged by jenkins-bot:
[operations/software/cumin@master] CLI: add -o/--output to get the output in different formats

https://gerrit.wikimedia.org/r/354637

Volans moved this task from In Code Review to Done on the SRE-tools board.
Volans removed a project: Patch-For-Review.