pub fn render_fetch(
out: &FetchOutput,
format: OutputFormat,
color: bool,
ndjson_records: bool,
) -> StringExpand description
Render a FetchOutput in the given format. Owner: cli agent.
Json:serde_json::to_string_pretty(out).Ndjson: one line perItemacross all feeds; feed-level errors go to stderr (the caller handles that) — this function returns only the stdout payload. Whenndjson_recordsis set, emit self-contained tagged records instead (see [render_fetch_ndjson_records]).Text: a compact human summary; usecolorto decide on ANSI styling.