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

invokeWithoutSubcommand

val invokeWithoutSubcommand: Boolean

Used when this command has subcommands, and this command is called without a subcommand. If true, run will be called. By default, a PrintHelpMessage is thrown instead.