DefaultFormatter

class DefaultFormatter(commandFormatter: Formatter<Command> = CommandFormatter(), titleSeparator: String = "-", versionPrefix: String = "(version ", versionSuffix: String = ")") : Formatter

Constructors

Link copied to clipboard
constructor(commandFormatter: Formatter<Command> = CommandFormatter(), titleSeparator: String = "-", versionPrefix: String = "(version ", versionSuffix: String = ")")

Functions

Link copied to clipboard
open override fun error(program: Program, command: Command, exception: Exception): String
Link copied to clipboard
open override fun help(program: Program, command: Command): String
Link copied to clipboard
open override fun summary(program: Program, command: Command): String