ConsoleInputService

class ConsoleInputService(dispatcher: CommandDispatcher, sender: CommandSender, historyPath: Path, prompt: String, historyLimit: Int = 50, interruptCommand: String = "stop") : AutoCloseable

Reads console input and dispatches commands.

Constructors

Link copied to clipboard
constructor(dispatcher: CommandDispatcher, sender: CommandSender, historyPath: Path, prompt: String, historyLimit: Int = 50, interruptCommand: String = "stop")

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun start()