pub fn pipe_output(output: &str) -> Result<()>
pipe_output: writes the output to standard output, through a pager ($PAGER, or less -R) if standard output is a terminal.
pipe_output
$PAGER
less -R