main

fun main(argv: List<String>)

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

This function calls parse and catches any CliktErrors that are thrown, exiting the process with the specified status code. Other errors are allowed to pass through.

If you don't want Clikt to exit your process, call parse instead.


fun main(argv: Array<out String>)