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