installMordant

fun BaseCliktCommand<*>.installMordant(force: Boolean = false)

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

This is done automatically for CliktCommands, but you can call this if you are making a custom command class.

Parameters

force

If true, install mordant even if the parent command has already installed a help formatter.