Expand description
The output boundary every handler emits through.
One rule in two halves, identical in both modes: stdout carries the
result and only the result — human text by default, machine output
under --json — and stderr carries everything else. No handler in
commands/ prints directly; a source-scan test below holds that, so
the contract cannot regrow a second personality one println! at a
time.
Structs§
- Output
- The boundary a handler writes results through.
Enums§
- Format
- Which caller the result serves.
Functions§
- render_
error - Render one failure on stderr: the human five-question form by default,
the same fields as one JSON line under
--json. - take_
stdout_ failure - The stdout failure a successful run still has to answer for, if any.