clikt / com.github.ajalt.clikt.core / CliktCommand / run

run

abstract fun run(): Unit

Perform actions after parsing is complete and this command is invoked.

This is called after command line parsing is complete. If this command is a subcommand, this will only be called if the subcommand is invoked.

If one of this command’s subcommands is invoked, this is called before the subcommand’s arguments are parsed.