Example

class Arguments : Arkenv() {
    val port: Int by argument {
        description = "An Int with a default value"
        defaultValue = { 5000 }
    }
}

fun main(args: Array<String>) {
    // Prints out either 5000 or defined from cli
    println("Port: " + Arguments().parse(args).port) 
}
java -jar app.jar --port 80 # Prints "Port: 80"