toggle menu
hexagon
4.0.0-A6
jvm
switch theme
search in API
args
/
com.hexagontk.args.formatter
/
DefaultFormatter
Default
Formatter
class
DefaultFormatter
(
commandFormatter
:
Formatter
<
Command
>
=
CommandFormatter()
,
titleSeparator
:
String
=
"-"
,
versionPrefix
:
String
=
"(version "
,
versionSuffix
:
String
=
")"
)
:
Formatter
Members
Constructors
Default
Formatter
Link copied to clipboard
constructor
(
commandFormatter
:
Formatter
<
Command
>
=
CommandFormatter()
,
titleSeparator
:
String
=
"-"
,
versionPrefix
:
String
=
"(version "
,
versionSuffix
:
String
=
")"
)
Functions
error
Link copied to clipboard
open
override
fun
error
(
program
:
Program
,
command
:
Command
,
exception
:
Exception
)
:
String
help
Link copied to clipboard
open
override
fun
help
(
program
:
Program
,
command
:
Command
)
:
String
summary
Link copied to clipboard
open
override
fun
summary
(
program
:
Program
,
command
:
Command
)
:
String