Skip to main content

Module output

Module output 

Source
Expand description

Output glue. The single seam through which CLI subcommands write their one line of JSON to stdout.

Functions§

emit
Emit a payload to stdout as one line of JSON. Wraps shared::afdata::emit and is the single seam through which CLI subcommands produce output.
emit_unredacted
Emit a payload to stdout without AFDATA redaction. This is only for explicit reveal flags; normal command output must use emit.