At present, parsing the output from "stolonctl status" requires ad-hoc text processing.
An option to provide JSON output would permit easier parsing (with tools such as jq), and provide a means for future extension (by adding additional keys without changing the meaning of existing ones) that wouldn't have potential to impact existing parsers.
With upstream approval/consensus, I'm willing to do the implementation myself.
At present, parsing the output from "stolonctl status" requires ad-hoc text processing.
An option to provide JSON output would permit easier parsing (with tools such as
jq), and provide a means for future extension (by adding additional keys without changing the meaning of existing ones) that wouldn't have potential to impact existing parsers.With upstream approval/consensus, I'm willing to do the implementation myself.