toggle menu
hexagon
4.0.0-A6
jvm
switch theme
search in API
args
/
com.hexagontk.args
/
Program
Program
data
class
Program
(
val
version
:
String
?
=
null
,
val
command
:
Command
,
val
formatter
:
Formatter
=
DefaultFormatter()
,
val
systemSetting
:
Boolean
=
false
,
val
defaultCommand
:
List
<
String
>
=
emptyList()
)
Members
Constructors
Program
Link copied to clipboard
constructor
(
name
:
String
,
version
:
String
?
=
null
,
title
:
String
?
=
null
,
description
:
String
?
=
null
,
properties
:
Set
<
Property
<
*
>
>
=
emptySet()
)
constructor
(
name
:
String
,
version
:
String
?
=
null
,
title
:
String
?
=
null
,
description
:
String
?
=
null
,
properties
:
Set
<
Property
<
*
>
>
=
emptySet()
,
commands
:
Set
<
Command
>
)
constructor
(
version
:
String
?
=
null
,
command
:
Command
,
formatter
:
Formatter
=
DefaultFormatter()
,
systemSetting
:
Boolean
=
false
,
defaultCommand
:
List
<
String
>
=
emptyList()
)
Properties
command
Link copied to clipboard
val
command
:
Command
default
Command
Link copied to clipboard
val
defaultCommand
:
List
<
String
>
formatter
Link copied to clipboard
val
formatter
:
Formatter
system
Setting
Link copied to clipboard
val
systemSetting
:
Boolean
=
false
version
Link copied to clipboard
val
version
:
String
?
=
null
Functions
input
Link copied to clipboard
fun
input
(
)
:
String
?
parse
Link copied to clipboard
fun
parse
(
args
:
Array
<
out
String
>
)
:
Command
fun
parse
(
args
:
Iterable
<
String
>
)
:
Command