Skip to main content

writeln_stdout

Function writeln_stdout 

Source
pub fn writeln_stdout(line: impl AsRef<str>) -> Result<(), CliError>
Expand description

Write one complete line to stdout (adds \n) and flush immediately.

Use for JSON envelopes, NDJSON steps, and human one-line results.