Package-level declarations

Types

Link copied to clipboard
abstract class CliktCommand(name: String? = null) : CoreCliktCommand

The CliktCommand is the core of command line interfaces in Clikt.

Link copied to clipboard
open class NoOpCliktCommand(name: String? = null) : CliktCommand

A CliktCommand that has a default implementation of CliktCommand.run that is a no-op.

Properties

Link copied to clipboard
val BaseCliktCommand<*>.terminal: Terminal

A shortcut for accessing the terminal from the currentContext

val Context.terminal: Terminal

The terminal to used to read and write messages.

The terminal that will handle reading and writing text.

Link copied to clipboard
val Context.theme: Theme

The current terminal's theme

Functions

Link copied to clipboard
fun BaseCliktCommand<*>.installMordant(force: Boolean = false)

Set up this command's context to use Mordant for rendering.