clikt / com.github.ajalt.clikt.output / TermUi / echo

echo

fun echo(message: Any?, trailingNewline: Boolean = true): Unit

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