--json, most commands print one JSON object on standard output. cowboy version --json lists them. For example:
Output
oksays whether the command did what it was asked.resultholds what it produced.diagnosticslists problems, each with acode, amessage, ahint, andretryable.
A script reads the result like this:
Output
result:
Output
actor state puts the values under result.storage. actor call returns the call’s status and receipt, with no return value: to get what a handler returned, use the Python client.