Command line interface. Every command prints one JSON document on stdout; failures print {"error": ...} on stderr and exit with status 1.
{"error": ...}