statusCode

val statusCode: Int = 1

The value to use as the exit code for the process.

If you use CliktCommand.main, it will pass this value to exitProcess after printing message. Defaults to 1.