vertx / io.vertx.ext.shell.cli / Completion

Completion

interface Completion

The completion object

Author
Julien Viet

Functions

complete

abstract fun complete(candidates: MutableList<String>): Unit

End the completion with a list of candidates, these candidates will be displayed by the shell on the console.

abstract fun complete(value: String, terminal: Boolean): Unit

End the completion with a value that will be inserted to complete the line.

findLongestCommonPrefix

open static fun findLongestCommonPrefix(values: MutableCollection<String>): String

lineTokens

abstract fun lineTokens(): MutableList<CliToken>

rawLine

abstract fun rawLine(): String

session

abstract fun session(): Session

vertx

abstract fun vertx(): Vertx