run

inline fun <T : BaseCliktCommand<T>> run(rootInvocation: CommandInvocation<T>, runCommand: (T) -> Unit)

Finalize and run all invoked commands.

Throws

if an error occurred while parsing or of any occur while finalizing or running the commands.