nfrankel
04/14/2018, 7:24 AMfun main(args: Array<String>) {
val client = Client("url", "key", "secret")
fun Command.execute() = client.execute(this).third.fold({ println(it) }, { throw it })
ListVolume().execute()
ListFirewallRules().execute()
}
i would like to have it at the end, as an implementation detail
anyone can confirm?
and tell me whether i can do it otherwise to make it more readable
also, i would be interested in the reason
and if it might change in the future