Skip to main content

print_result_line

Function print_result_line 

Source
pub(crate) fn print_result_line(value: impl Serialize + Display) -> Result<()>
Expand description

Prints the primary result of a command: a JSON envelope in --json mode, otherwise a raw line that bypasses the shell verbosity layer so --quiet does not suppress it.