clikt / com.github.ajalt.clikt.output / NonInteractiveCliktConsole / print

print

fun print(text: String, error: Boolean): Unit

Overrides CliktConsole.print

Show some text to the user.

Parameters

text - The text to display. May or may not contain a tailing newline.

error - If true, the text is an error message, and should be printed in an alternate stream or format, if applicable.