Skip to main content

echo

Function echo 

Source
pub fn echo(message: &str, nl: bool, err: bool, color: Option<bool>)
Expand description

Print a message to the terminal.

ยงArguments

  • message - The message to print
  • nl - Whether to append a newline (default: true)
  • err - Whether to print to stderr instead of stdout
  • color - Force color on/off, or None to auto-detect