toggle menu
clikt
common
switch theme
search in API
clikt-core
/
com.github.ajalt.clikt.core
/
subcommands
subcommands
fun
<
T
:
BaseCliktCommand
<
T
>
,
CommandT
:
T
>
CommandT
.
subcommands
(
commands
:
Iterable
<
T
>
)
:
CommandT
fun
<
T
:
BaseCliktCommand
<
T
>
,
CommandT
:
T
>
CommandT
.
subcommands
(
vararg
commands
:
T
)
:
CommandT
Add the given commands as a subcommand of this command.