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

NonInteractiveCliktConsole

class NonInteractiveCliktConsole : CliktConsole

Constructors

<init>

NonInteractiveCliktConsole()

Properties

lineSeparator

val lineSeparator: String

The line separator to use. (Either "\n" or "\r\n")

Functions

print

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

Show some text to the user.

promptForLine

fun promptForLine(prompt: String, hideInput: Boolean): String?

Show the prompt to the user, and return a line of their response.