class ColorHelpFormatter: Any

Color formatter for the command line interface.

Constructors

Name Description
constructor()

Color formatter for the command line interface.

Methods

renderTag

fun renderTag(tag: String, value: String): (tag: String, value: String)

Parameters

Name Description
tag: String
value: String

ReturnValue

Name Description
(tag: String, value: String)

renderOptionName

fun renderOptionName(name: String): (name: String)

Parameters

Name Description
name: String

ReturnValue

Name Description
(name: String)

renderArgumentName

fun renderArgumentName(name: String): (name: String)

Parameters

Name Description
name: String

ReturnValue

Name Description
(name: String)

renderSubcommandName

fun renderSubcommandName(name: String): (name: String)

Parameters

Name Description
name: String

ReturnValue

Name Description
(name: String)

renderSectionTitle

fun renderSectionTitle(title: String): (title: String)

Parameters

Name Description
title: String

ReturnValue

Name Description
(title: String)

optionMetavar

fun optionMetavar(option: HelpFormatter.ParameterHelp.Option): (option: HelpFormatter.ParameterHelp.Option)

Parameters

Name Description
option: HelpFormatter.ParameterHelp.Option

ReturnValue

Name Description
(option: HelpFormatter.ParameterHelp.Option)