clikt / com.github.ajalt.clikt.output / InteractiveCliktConsole

InteractiveCliktConsole

class InteractiveCliktConsole : CliktConsole

Constructors

<init>

InteractiveCliktConsole(console: Console)

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.