pub fn out<T: Display>(value: T)Available on crate feature
std only.Expand description
Print value to standard output, followed by a newline.
The common case is a string literal, which is written without parsing or
allocation. Because the argument is anything Display, a
Style drops straight in and renders on the way out.
A failed write — a closed pipe, for instance — is silently ignored: a fire-and-forget print must not panic or abort the program.
§Examples
use cli_forge::{out, style};
out("building..."); // plain, allocation-free
out(style("done").green().bold()); // styled, rendered on write
out(format!("built {} targets", 3)); // any Display value