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

main

fun main(argv: Array<String>): Unit

Parse the command line and print helpful output if any errors occur.

This function calls parse and catches and CliktErrors that are thrown. Other error are allowed to pass through.