pub fn emit(command: &str, data: Value) -> Result<()>
Pretty-print the envelope for command to stdout.
command
In JSON mode this must be the only stdout output the command produces.