echo

fun echo(message: Any?, trailingNewline: Boolean = true, err: Boolean = false, console: CliktConsole = defaultCliktConsole(), lineSeparator: String = console.lineSeparator)

Print the message to the screen.

This is similar to print or println, but converts newlines to the system line separator.

Parameters

message

The message to print.

trailingNewline

If true, behave like println, otherwise behave like print

err

If true, print to stderr instead of stdout

console

The console to echo to

lineSeparator

The line separator to use, defaults to the console's lineSeparator