main

inline fun <T : BaseCliktCommand<T>> main(command: T, parseAndRun: T.() -> Unit)

Call parseAndRun on the given command. If an error is thrown, exit the process with the error's status code.